image duplication bug

This commit is contained in:
Neythen 2021-12-08 17:26:35 +00:00
parent 856051ca45
commit 81293fbea7
2 changed files with 4 additions and 3 deletions

View File

@ -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+'))

View File

@ -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();