mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-26 04:07:57 +00:00
Fixed script to generate webroot header files
This commit is contained in:
@@ -8,6 +8,7 @@ srcroot = "src/web/root"
|
|||||||
|
|
||||||
if os.path.exists(srcroot):
|
if os.path.exists(srcroot):
|
||||||
shutil.rmtree(srcroot)
|
shutil.rmtree(srcroot)
|
||||||
|
os.mkdir(srcroot)
|
||||||
else:
|
else:
|
||||||
os.mkdir(srcroot)
|
os.mkdir(srcroot)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user