1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 06:53:07 +01:00

Fix variable name in extra_script.py.new

This commit is contained in:
2025-07-09 16:23:11 +02:00
parent 13abfe4c14
commit 7ca0a4d09a

View File

@@ -535,7 +535,7 @@ for taskdir in userTaskDirs:
print("#extra task script for '{}'".format(taskname))
with open(script) as fh:
try:
code = compile(fh.read(), task, 'exec')
code = compile(fh.read(), taskname, 'exec')
except SyntaxError:
print("#ERROR: script does not compile")
continue