same as last commit

master
Aevann1 2022-09-11 08:41:48 +02:00
parent 3e6a3ef52d
commit 5546bf56f3
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ from files.routes.static import marsey_list
@app.get('/asset_submissions/marseys') @app.get('/asset_submissions/marseys')
@auth_required @auth_required
def asset_submissions_marseys(v): def asset_submissions_marseys(v):
images = [x for x in listdir("/asset_submissions/marseys") if x.endswith('png')] images = [x for x in listdir("/asset_submissions/marseys") if x.endswith('.png')]
return render_template("asset_submissions.html", v=v, images=images) return render_template("asset_submissions.html", v=v, images=images)