1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

no clue why this works

This commit is contained in:
Steffo 2018-11-18 22:33:58 +01:00
parent 4ec45390ae
commit 56518a1450

View file

@ -360,7 +360,7 @@ def page_activity():
db_session = db.Session()
reports = list(db_session.query(db.ActivityReport).order_by(db.ActivityReport.timestamp.desc()).limit(192).all())
db_session.close()
return render_template("activity.html", activityreports=reversed(reports))
return render_template("activity.html", activityreports=list(reversed(reports)))
@app.route("/api/token")