Author: bugman Date: Wed Jun 25 00:13:24 2008 New Revision: 6491 URL: http://svn.gna.org/viewcvs/relax?rev=6491&view=rev Log: Bug fix for the extract_data() function. Modified: 1.3/relax_io.py Modified: 1.3/relax_io.py URL: http://svn.gna.org/viewcvs/relax/1.3/relax_io.py?rev=6491&r1=6490&r2=6491&view=diff ============================================================================== --- 1.3/relax_io.py (original) +++ 1.3/relax_io.py Wed Jun 25 00:13:24 2008 @@ -108,7 +108,7 @@ # Data not already extracted from the file. if not file_data: # Open the file. - if type(file) != file: + if type(file) == str: file = open_read_file(file_name=file, dir=dir) # Read lines.