rename hw-grinch to hallowgrinch

master
Aevann 2023-10-10 21:14:45 +03:00
parent da633f54a0
commit a0f0ad7cbf
3 changed files with 4 additions and 3 deletions

View File

@ -355,8 +355,8 @@ AWARDS = {
"enabled": IS_HOMOWEEN(), "enabled": IS_HOMOWEEN(),
"positive": True, "positive": True,
}, },
"hw-grinch": { "hallowgrinch": {
"kind": "hw-grinch", "kind": "hallowgrinch",
"title": "Hallowgrinch", "title": "Hallowgrinch",
"description": "???", "description": "???",
"icon": "fas fa-angry", "icon": "fas fa-angry",

View File

@ -548,7 +548,7 @@ def award_thing(v, thing_type, id):
if v.id == author.id: if v.id == author.id:
session['event_music'] = False session['event_music'] = False
elif IS_HOMOWEEN(): elif IS_HOMOWEEN():
if kind == "hw-grinch": if kind == "hallowgrinch":
badge_grant(badge_id=185, user=author) badge_grant(badge_id=185, user=author)
if v.id == author.id: if v.id == author.id:
session['event_music'] = False session['event_music'] = False

View File

@ -0,0 +1 @@
update award_relationships set kind='hallowgrinch' where kind='hw-grinch';