mirror of
https://github.com/arendst/Tasmota.git
synced 2026-09-11 17:23:18 +00:00
fix zopfli import error (#24631)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user