aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-10-11 19:16:37 +0100
committerGravatar GitHub <[email protected]>2019-10-11 19:16:37 +0100
commitc55ff9a4964a63af18879834abefc5224aa68cdf (patch)
tree834c796aacc5d0b3038b75bac1c996116dc07b70 /pydis_site
parentRegister GH provider manually in tests (diff)
Clarify _apply_groups kwarg (Thanks, @jchristgit)
Co-Authored-By: Johannes Christ <[email protected]>
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/apps/home/signals.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/home/signals.py b/pydis_site/apps/home/signals.py
index a5577f41..f0be3db2 100644
--- a/pydis_site/apps/home/signals.py
+++ b/pydis_site/apps/home/signals.py
@@ -92,7 +92,7 @@ class SignalListener:
except DiscordUser.DoesNotExist:
return
- self._apply_groups(user, account, True)
+ self._apply_groups(user, account, deletion=True)
def model_updated(self, sender: Type[DiscordUser], **kwargs) -> None:
"""Handle signals related to the updating of Discord User model entries."""