diff --git a/files/helpers/awards.py b/files/helpers/awards.py index f3a6d1b24..54c18b51d 100644 --- a/files/helpers/awards.py +++ b/files/helpers/awards.py @@ -72,7 +72,7 @@ def award_timers(v, bot=False): if v.old_house: notify_if_not_bot("Your vampire status has ended!") v.house = v.old_house - v.old_house = None + v.old_house = '' badge = v.has_badge(168) if badge: g.db.delete(badge) diff --git a/files/routes/settings.py b/files/routes/settings.py index 8b2b61e0d..cb94d13c5 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -276,7 +276,7 @@ def settings_profile_post(v): elif v.procoins >= cost: v.procoins -= cost else: abort(403) - if house == "None": house = None + if house == "None": house = '' v.house = house if v.house == "Vampire":