nvm
This commit is contained in:
parent
8809e6eaf0
commit
bda162c0c6
@ -1705,8 +1705,6 @@ def saveSchedulerSettings():
|
|||||||
@app.route("/saveScreensaverSettings", methods = ['PUT', 'POST'])
|
@app.route("/saveScreensaverSettings", methods = ['PUT', 'POST'])
|
||||||
def saveScreensaverSettings():
|
def saveScreensaverSettings():
|
||||||
|
|
||||||
global displaying_screensaver
|
|
||||||
|
|
||||||
data = request.data.decode('utf-8')
|
data = request.data.decode('utf-8')
|
||||||
input_settings = json.loads(data)
|
input_settings = json.loads(data)
|
||||||
|
|
||||||
@ -1738,10 +1736,6 @@ def saveScreensaverSettings():
|
|||||||
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)
|
||||||
|
|
||||||
if displaying_screensaver:
|
|
||||||
screensaver_p.close()
|
|
||||||
displaying_screensaver = False
|
|
||||||
|
|
||||||
return index()
|
return index()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user