mirror of https://github.com/arendst/Tasmota.git
add forgotten import `compress`
This commit is contained in:
parent
b5f26e9210
commit
8956b25de4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue