fix zopfli import error (#24631)

This commit is contained in:
Jason2866
2026-04-11 23:55:01 +02:00
committed by GitHub
parent 3ed46799be
commit 6db42be41f
+1 -1
View File
@@ -194,6 +194,6 @@ try:
return _compress_with_zopfli(data, **kw)
except ModuleNotFoundError:
except (ImportError, ModuleNotFoundError):
def compress(data, level=9, **kw):
return _compress_with_gzip(data, level)