diff --git a/ESP/tools/customname.py b/ESP/tools/customname.py index 20237ff..a53381e 100644 --- a/ESP/tools/customname.py +++ b/ESP/tools/customname.py @@ -124,6 +124,7 @@ def customName(project, version, commit, branch): s(defines.get("PIO_SRC_BRH")), ) ) + # detect if there is a forward slash in the PROGNAME and replace it with an underscore if "/" in env["PROGNAME"]: