Private
Public Access
1
0

fix small bug

This commit is contained in:
Sander Roosendaal
2020-02-22 08:24:46 +01:00
parent 39f813e816
commit 28e98003af
2 changed files with 2 additions and 2 deletions

View File

@@ -1390,7 +1390,7 @@ def parsenonpainsled(fileformat,f2,summary):
try:
row = parsers[fileformat](f2)
hasrecognized = True
except (KeyError,IndexError):
except (KeyError,IndexError,ValueError):
hasrecognized = False
return None, hasrecognized, '', 'unknown'