mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 21:44:21 +00:00
Fix some weird behaviour
This commit is contained in:
parent
04ac319087
commit
4ec45390ae
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ def page_music_individual(discord_id: str):
|
||||||
@app.route("/activity")
|
@app.route("/activity")
|
||||||
def page_activity():
|
def page_activity():
|
||||||
db_session = db.Session()
|
db_session = db.Session()
|
||||||
reports = db_session.query(db.ActivityReport).order_by(db.ActivityReport.timestamp.desc()).limit(192).all()
|
reports = list(db_session.query(db.ActivityReport).order_by(db.ActivityReport.timestamp.desc()).limit(192).all())
|
||||||
db_session.close()
|
db_session.close()
|
||||||
return render_template("activity.html", activityreports=reversed(reports))
|
return render_template("activity.html", activityreports=reversed(reports))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue