diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/transform.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/transform.py b/python/transform.py index 35fa8f68..276b005d 100644 --- a/python/transform.py +++ b/python/transform.py @@ -842,7 +842,7 @@ class ZipPython(Transform): log_error("ZipPython: failed to read from BinaryView for signature check") return False - def perform_decode(self, data: bytes, params: dict) -> bytes | None: + def perform_decode(self, data: bytes, params: dict) -> Optional[bytes]: try: zf = zipfile.ZipFile(io.BytesIO(data), "r") except Exception: |
