forked from MarseyWorld/MarseyWorld
fix 500 error
parent
24f7e30389
commit
0c0a612f53
|
@ -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)
|
||||
|
|
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue