master
Aevann1 2022-01-07 23:03:11 +02:00
parent b1e9e03016
commit e5571bc680
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ def activate(v):
user.email = email
user.is_activated = True
if not any([b.badge_id == 2 for b in user.badges]):
if not any(b.badge_id == 2 for b in user.badges):
mail_badge = Badge(user_id=user.id, badge_id=2)
g.db.add(mail_badge)
send_notification(user.id, f"@AutoJanny has given you the following profile badge:\n\n![]({mail_badge.path})\n\n{mail_badge.name}")