image duplication bug
This commit is contained in:
parent
856051ca45
commit
81293fbea7
@ -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+'))
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user