refactored sendMqttDiscoveryConfig

This commit is contained in:
lumapu 2022-11-09 23:29:42 +01:00
parent 2ac8aadec2
commit 43e8714526
5 changed files with 81 additions and 83 deletions

View file

@ -65,7 +65,6 @@ def convert2Header(inFile, compress):
# delete all files in the 'h' dir, but ignore 'favicon_ico_gz.h'
dir = 'h'
print(os.getcwd())
if os.getcwd()[-4:] != "html":
dir = "web/html/" + dir