We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fddbc2 commit ff6d195Copy full SHA for ff6d195
src/maggma/stores/file_store.py
@@ -442,7 +442,7 @@ def query( # type: ignore
442
# TODO - could add more logic for detecting different file types
443
# and more nuanced exception handling
444
try:
445
- with zopen(d["path"], "rt", encoding=self.encoding) as f:
+ with zopen(d["path"], mode="rt", encoding=self.encoding) as f:
446
data = f.read()
447
except Exception as e:
448
data = f"Unable to read: {e}"
0 commit comments