forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-08-22 18:52:43 +02:00
parent b148e36e7f
commit 7a70cfb31c
1 changed files with 1 additions and 1 deletions

View File

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