From 8956b25de414add118414d21ac4d79525c33ebab Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 7 Sep 2024 14:45:26 +0200 Subject: [PATCH] add forgotten import `compress` --- pio-tools/gzip-firmware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)