master
Aevann1 2021-08-22 18:51:39 +02:00
parent d7bb874315
commit b148e36e7f
1 changed files with 1 additions and 2 deletions

View File

@ -111,6 +111,7 @@ def admin_home(v):
@app.post("/admin/monthly")
@admin_level_required(6)
def monthly(v):
_awards = []
for u in g.db.query(User).filter(User.patron > 0).all():
grant_awards = {}
@ -127,8 +128,6 @@ def monthly(v):
thing = g.db.query(AwardRelationship).order_by(AwardRelationship.id.desc()).first().id
_awards = []
for name in grant_awards:
for count in range(grant_awards[name]):