diff --git a/server.py b/server.py index 9d332d2..e201ff0 100755 --- a/server.py +++ b/server.py @@ -409,7 +409,7 @@ def index(): clock1_settings = json.load(f) f.close() 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: json.dump(clock1_settings, f) try: @@ -417,7 +417,7 @@ def index(): clock2_settings = json.load(f) f.close() 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: json.dump(clock2_settings, f) try: @@ -425,7 +425,7 @@ def index(): worldclock_settings = json.load(f) f.close() 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: json.dump(worldclock_settings, f) try: