diff --git a/pio-tools/gzip-firmware.py b/pio-tools/gzip-firmware.py index c46e6f82a..38876e63e 100644 --- a/pio-tools/gzip-firmware.py +++ b/pio-tools/gzip-firmware.py @@ -34,7 +34,7 @@ if tasmotapiolib.is_env_set(tasmotapiolib.ENABLE_ESP32_GZ, env) or env["PIOPLATF try: from zopfli.gzip import compress except: - pass + from gzip import compress def bin_gzip(source, target, env): # create string with location and file names based on variant bin_file = tasmotapiolib.get_final_bin_path(env)