bug
This commit is contained in:
parent
26275a0674
commit
4c7fa352dc
2
app.py
2
app.py
@ -54,7 +54,7 @@ def list_images():
|
|||||||
if db.get_user_bytoken(auth_token) is None:
|
if db.get_user_bytoken(auth_token) is None:
|
||||||
return redirect("/login")
|
return redirect("/login")
|
||||||
images_all = db.get_images()
|
images_all = db.get_images()
|
||||||
return render_template("images.html", images=images_all)
|
return render_template("images.html", images=images_all.images)
|
||||||
|
|
||||||
@app.route('/create')
|
@app.route('/create')
|
||||||
def create_conf():
|
def create_conf():
|
||||||
|
Loading…
Reference in New Issue
Block a user