mirror of https://github.com/arendst/Tasmota.git
quote path (#18975)
This commit is contained in:
parent
b10b42ff34
commit
694bebb574
|
@ -7,7 +7,7 @@ from os.path import join
|
||||||
def firm_metrics(source, target, env):
|
def firm_metrics(source, target, env):
|
||||||
if env["PIOPLATFORM"] == "espressif32":
|
if env["PIOPLATFORM"] == "espressif32":
|
||||||
import tasmota_metrics
|
import tasmota_metrics
|
||||||
env.Execute("$PYTHONEXE -m tasmota_metrics " + str(tasmotapiolib.get_source_map_path(env).resolve()))
|
env.Execute("$PYTHONEXE -m tasmota_metrics \"" + str(tasmotapiolib.get_source_map_path(env).resolve()) + "\"")
|
||||||
elif env["PIOPLATFORM"] == "espressif8266":
|
elif env["PIOPLATFORM"] == "espressif8266":
|
||||||
map_file = join(env.subst("$BUILD_DIR")) + os.sep + "firmware.map"
|
map_file = join(env.subst("$BUILD_DIR")) + os.sep + "firmware.map"
|
||||||
with open(map_file,'r') as f:
|
with open(map_file,'r') as f:
|
||||||
|
|
Loading…
Reference in New Issue