forked from MarseyWorld/MarseyWorld
delete the spider badge if unspidering, not the marsify one (#374)
parent
54fa43038c
commit
a8e74d3355
|
@ -113,7 +113,7 @@ def settings_profile_post(v):
|
||||||
v.spider = int(request.values.get("spider") == 'true')
|
v.spider = int(request.values.get("spider") == 'true')
|
||||||
if v.spider: badge_grant(user=v, badge_id=179)
|
if v.spider: badge_grant(user=v, badge_id=179)
|
||||||
else:
|
else:
|
||||||
badge = v.has_badge(170)
|
badge = v.has_badge(179)
|
||||||
if badge: g.db.delete(badge)
|
if badge: g.db.delete(badge)
|
||||||
|
|
||||||
elif request.values.get("bio") == "":
|
elif request.values.get("bio") == "":
|
||||||
|
|
Loading…
Reference in New Issue