mirror of https://github.com/arendst/Tasmota.git
Create override_copy.py
This commit is contained in:
parent
4abf498041
commit
f8600c048d
|
@ -0,0 +1,9 @@
|
|||
Import('env')
|
||||
import os
|
||||
import shutil
|
||||
|
||||
# copy tasmota/user_config_override_sample.h to tasmota/user_config_override.h
|
||||
if os.path.isfile("tasmota/user_config_override.h"):
|
||||
print ("*** use provided user_config_override.h as planned ***")
|
||||
else:
|
||||
shutil.copy("tasmota/user_config_override_sample.h", "tasmota/user_config_override.h")
|
Loading…
Reference in New Issue