From a8e74d33557925ed9b966aa64a00fa54a89fcead Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sun, 25 Sep 2022 13:17:11 -0700 Subject: [PATCH] delete the spider badge if unspidering, not the marsify one (#374) --- files/routes/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index 15a5e6d90..b54a27c4c 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -113,7 +113,7 @@ def settings_profile_post(v): v.spider = int(request.values.get("spider") == 'true') if v.spider: badge_grant(user=v, badge_id=179) else: - badge = v.has_badge(170) + badge = v.has_badge(179) if badge: g.db.delete(badge) elif request.values.get("bio") == "":