added csv/ path
This commit is contained in:
parent
3261624329
commit
09abfb297d
@ -405,7 +405,7 @@ def index():
|
|||||||
with open('clock_screensaver.json', 'w') as f:
|
with open('clock_screensaver.json', 'w') as f:
|
||||||
json.dump(clock_screensaver, f)
|
json.dump(clock_screensaver, f)
|
||||||
try:
|
try:
|
||||||
f = open('clock1_settings.json', 'r')
|
f = open('csv/clock1_settings.json', 'r')
|
||||||
clock1_settings = json.load(f)
|
clock1_settings = json.load(f)
|
||||||
f.close()
|
f.close()
|
||||||
except:
|
except:
|
||||||
@ -413,7 +413,7 @@ def index():
|
|||||||
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:
|
||||||
f = open('clock2_settings.json', 'r')
|
f = open('csv/clock2_settings.json', 'r')
|
||||||
clock2_settings = json.load(f)
|
clock2_settings = json.load(f)
|
||||||
f.close()
|
f.close()
|
||||||
except:
|
except:
|
||||||
@ -421,7 +421,7 @@ def index():
|
|||||||
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:
|
||||||
f = open('worldclock_settings.json', 'r')
|
f = open('csv/worldclock_settings.json', 'r')
|
||||||
worldclock_settings = json.load(f)
|
worldclock_settings = json.load(f)
|
||||||
f.close()
|
f.close()
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user