We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88ebe03 commit be1f5d2Copy full SHA for be1f5d2
src/shapefile.py
@@ -1073,7 +1073,7 @@ def __init__(
1073
fileobj.seek(0)
1074
setattr(self, lower_ext, fileobj)
1075
self._files_to_close.append(fileobj)
1076
- except (OSError, AttributeError):
+ except (OSError, AttributeError, KeyError):
1077
pass
1078
# Close and delete the temporary zipfile
1079
try:
0 commit comments