From f8367074de14102354378c706c781096fecb9225 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Fri, 4 Oct 2019 22:49:18 +0100 Subject: Clean up and comment signal tests --- pydis_site/apps/home/signals.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pydis_site/apps/home/signals.py') diff --git a/pydis_site/apps/home/signals.py b/pydis_site/apps/home/signals.py index 691332d2..a5577f41 100644 --- a/pydis_site/apps/home/signals.py +++ b/pydis_site/apps/home/signals.py @@ -42,9 +42,9 @@ class SignalListener: social_account_updated.connect(self.social_account_updated) social_account_removed.connect(self.social_account_removed) - user_logged_in.connect(self.user_login) + user_logged_in.connect(self.user_logged_in) - def user_login(self, sender: Type[DjangoUser], **kwargs) -> None: + def user_logged_in(self, sender: Type[DjangoUser], **kwargs) -> None: """Handles signals relating to Allauth logins.""" user: DjangoUser = kwargs["user"] -- cgit v1.2.3