diff --git a/aetherpy/io/read_routines.py b/aetherpy/io/read_routines.py index e4c955e..1c14c18 100644 --- a/aetherpy/io/read_routines.py +++ b/aetherpy/io/read_routines.py @@ -407,7 +407,7 @@ def read_gitm_headers(filelist, finds=-1): _, rec_len = unpack(end_char + '2l', fin.read(8)) # Test the version number - if 'version' not in header.keys() == 0: + if 'version' not in header.keys(): header["version"] = file_version elif header['version'] != file_version: raise IOError(''.join(['unexpected version number in file ',