This commit is contained in:
Mateusz779 2023-04-19 14:11:18 +02:00
parent 26275a0674
commit 4c7fa352dc

2
app.py
View File

@ -54,7 +54,7 @@ def list_images():
if db.get_user_bytoken(auth_token) is None:
return redirect("/login")
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')
def create_conf():