diff --git a/files/routes/admin.py b/files/routes/admin.py index b6d108d2b..e8328c9d2 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -171,7 +171,8 @@ def badge_grant_post(v): if url: new_badge.url = url g.db.add(new_badge) - + g.db.flush() + text = f""" @{v.username} has given you the following profile badge: \n\n![]({new_badge.path}) diff --git a/files/templates/errors/banaward.html b/files/templates/errors/banaward.html deleted file mode 100644 index 91083cc67..000000000 --- a/files/templates/errors/banaward.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "default.html" %} - -{% block title %} -
You have 0 ban awards (they're a patron perk):
- https://rdrama.gumroad.com/l/tfcvri -