image duplication bug
This commit is contained in:
parent
856051ca45
commit
81293fbea7
@ -118,8 +118,6 @@ def index():
|
|||||||
return render_template('index.html', **templateData)
|
return render_template('index.html', **templateData)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@app.route ("/start", methods = ['PUT', 'POST'])
|
@app.route ("/start", methods = ['PUT', 'POST'])
|
||||||
def start():
|
def start():
|
||||||
global displaying_screensaver
|
global displaying_screensaver
|
||||||
@ -502,7 +500,7 @@ def save_image_settings(input_settings):
|
|||||||
|
|
||||||
current_settings['speed'] = input_settings['speed'].lower()
|
current_settings['speed'] = input_settings['speed'].lower()
|
||||||
current_settings['animation'] = input_settings['animation'].lower()
|
current_settings['animation'] = input_settings['animation'].lower()
|
||||||
current_settings['title'] = input_settings['title']
|
|
||||||
|
|
||||||
del current_settings['feature']
|
del current_settings['feature']
|
||||||
json.dump(current_settings, open('csv/' + filename, 'w+'))
|
json.dump(current_settings, open('csv/' + filename, 'w+'))
|
||||||
|
@ -1387,6 +1387,8 @@ window.onload = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// custom images
|
// custom images
|
||||||
|
|
||||||
|
/*
|
||||||
let localCustomImages = JSON.parse(localStorage.getItem("customImages"));
|
let localCustomImages = JSON.parse(localStorage.getItem("customImages"));
|
||||||
localCustomImages?.map((value) => {
|
localCustomImages?.map((value) => {
|
||||||
let tag = document.createElement("li");
|
let tag = document.createElement("li");
|
||||||
@ -1409,6 +1411,7 @@ window.onload = () => {
|
|||||||
|
|
||||||
messagesWrapper.appendChild(tag);
|
messagesWrapper.appendChild(tag);
|
||||||
});
|
});
|
||||||
|
* */
|
||||||
addEventOnList();
|
addEventOnList();
|
||||||
addEventonBtns();
|
addEventonBtns();
|
||||||
changeVarValue();
|
changeVarValue();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user