From 09abfb297dc38df0e323e56580449eeed9883b30 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 29 Aug 2023 19:30:05 +0800 Subject: [PATCH] added csv/ path --- server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server.py b/server.py index 924bf97..ae87bbe 100755 --- a/server.py +++ b/server.py @@ -405,7 +405,7 @@ def index(): with open('clock_screensaver.json', 'w') as f: json.dump(clock_screensaver, f) try: - f = open('clock1_settings.json', 'r') + f = open('csv/clock1_settings.json', 'r') clock1_settings = json.load(f) f.close() except: @@ -413,7 +413,7 @@ def index(): with open('csv/clock1_settings.json', 'w') as f: json.dump(clock1_settings, f) try: - f = open('clock2_settings.json', 'r') + f = open('csv/clock2_settings.json', 'r') clock2_settings = json.load(f) f.close() except: @@ -421,7 +421,7 @@ def index(): with open('csv/clock2_settings.json', 'w') as f: json.dump(clock2_settings, f) try: - f = open('worldclock_settings.json', 'r') + f = open('csv/worldclock_settings.json', 'r') worldclock_settings = json.load(f) f.close() except: