added speed2 to clocks
This commit is contained in:
parent
988022da33
commit
a0307b7261
@ -409,7 +409,7 @@ def index():
|
|||||||
clock1_settings = json.load(f)
|
clock1_settings = json.load(f)
|
||||||
f.close()
|
f.close()
|
||||||
except:
|
except:
|
||||||
clock1_settings = {"speed": "fast", "transition": "up", "pause": "20"}
|
clock1_settings = {"speed": "fast", "speed2": "fast", "transition": "up", "pause": "20"}
|
||||||
with open('csv/clock1_settings.json', 'w') as f:
|
with open('csv/clock1_settings.json', 'w') as f:
|
||||||
json.dump(clock1_settings, f)
|
json.dump(clock1_settings, f)
|
||||||
try:
|
try:
|
||||||
@ -417,7 +417,7 @@ def index():
|
|||||||
clock2_settings = json.load(f)
|
clock2_settings = json.load(f)
|
||||||
f.close()
|
f.close()
|
||||||
except:
|
except:
|
||||||
clock2_settings = {"speed": "fast", "transition": "up", "pause": "20"}
|
clock2_settings = {"speed": "fast", "speed2": "fast", "transition": "up", "pause": "20"}
|
||||||
with open('csv/clock2_settings.json', 'w') as f:
|
with open('csv/clock2_settings.json', 'w') as f:
|
||||||
json.dump(clock2_settings, f)
|
json.dump(clock2_settings, f)
|
||||||
try:
|
try:
|
||||||
@ -425,7 +425,7 @@ def index():
|
|||||||
worldclock_settings = json.load(f)
|
worldclock_settings = json.load(f)
|
||||||
f.close()
|
f.close()
|
||||||
except:
|
except:
|
||||||
worldclock_settings = {"speed": "fast", "transition": "up", "pause": "20"}
|
worldclock_settings = {"speed": "fast", "speed2": "fast", "transition": "up", "pause": "20"}
|
||||||
with open('csv/worldclock_settings.json', 'w') as f:
|
with open('csv/worldclock_settings.json', 'w') as f:
|
||||||
json.dump(worldclock_settings, f)
|
json.dump(worldclock_settings, f)
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user