mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 13:16:32 +00:00
Create override_copy.py
This commit is contained in:
parent
4abf498041
commit
f8600c048d
9
pio/override_copy.py
Normal file
9
pio/override_copy.py
Normal file
@ -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…
x
Reference in New Issue
Block a user