Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2019-12-17 08:24:38 +01:00
parent b20381be9d
commit 724720aa39

View File

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