Made MQTT optional

This commit is contained in:
Gunnar Skjold
2020-02-01 09:52:37 +01:00
parent 57d8603790
commit 8f85b43fc3
11 changed files with 251 additions and 222 deletions

View File

@@ -1,9 +1,12 @@
import os
import re
import shutil
webroot = "web"
srcroot = "src/web/root"
shutil.rmtree(srcroot)
if not os.path.exists(srcroot):
os.mkdir(srcroot)