Skip to content

Commit f5aca6c

Browse files
committed
Fix the filter for deleted / overwritten records.
Broken after update to Python3.
1 parent 4e7dcc3 commit f5aca6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fstd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def open (filename, squash_forecasts=False, print_warnings=True, raw_list=False,
400400
# Read the records
401401
records = fstd_core.read_records(filename)
402402
# Filter out any missing records
403-
records = records[records['nomvar']!='']
403+
records = records[records['nomvar']!=b'']
404404

405405
# Warn about any raw binary records.
406406
raw_binary_records = records[records['datyp'] == 0]

0 commit comments

Comments
 (0)