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 328ad3b commit 75f1a80Copy full SHA for 75f1a80
python/transform.py
@@ -842,7 +842,7 @@ def can_decode(self, input) -> bool:
842
log_error("ZipPython: failed to read from BinaryView for signature check")
843
return False
844
845
- def perform_decode(self, data: bytes, params: dict) -> bytes | None:
+ def perform_decode(self, data: bytes, params: dict) -> Optional[bytes]:
846
try:
847
zf = zipfile.ZipFile(io.BytesIO(data), "r")
848
except Exception:
0 commit comments