add forgotten import `compress`

This commit is contained in:
Jason2866 2024-09-07 14:45:26 +02:00 committed by GitHub
parent b5f26e9210
commit 8956b25de4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)