10 lines
256 B
Python
10 lines
256 B
Python
Import('env')
|
|
import os
|
|
import shutil
|
|
|
|
# copy WLED00/my_config_sample.h to WLED00/my_config.h
|
|
if os.path.isfile("wled00/my_config.h"):
|
|
print ("*** use existing my_config.h ***")
|
|
else:
|
|
shutil.copy("wled00/my_config_sample.h", "wled00/my_config.h")
|