diff --git a/server.py b/server.py index e28e5a5..3928af4 100755 --- a/server.py +++ b/server.py @@ -118,8 +118,6 @@ def index(): return render_template('index.html', **templateData) - - @app.route ("/start", methods = ['PUT', 'POST']) def start(): global displaying_screensaver @@ -502,7 +500,7 @@ def save_image_settings(input_settings): current_settings['speed'] = input_settings['speed'].lower() current_settings['animation'] = input_settings['animation'].lower() - current_settings['title'] = input_settings['title'] + del current_settings['feature'] json.dump(current_settings, open('csv/' + filename, 'w+')) diff --git a/static/app.js b/static/app.js index b8f4e7b..7618d14 100755 --- a/static/app.js +++ b/static/app.js @@ -1387,6 +1387,8 @@ window.onload = () => { } // custom images + + /* let localCustomImages = JSON.parse(localStorage.getItem("customImages")); localCustomImages?.map((value) => { let tag = document.createElement("li"); @@ -1409,6 +1411,7 @@ window.onload = () => { messagesWrapper.appendChild(tag); }); + * */ addEventOnList(); addEventonBtns(); changeVarValue();