From 9565bbc731e65a1ed1f298e801369099d0c9c6c5 Mon Sep 17 00:00:00 2001 From: Alvaro Leonel Date: Thu, 1 Jun 2017 23:24:20 -0400 Subject: [PATCH] Fix variable assignment Sorry, my bad!! :| --- notifications/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications/models.py b/notifications/models.py index 40f7f10..625726e 100644 --- a/notifications/models.py +++ b/notifications/models.py @@ -265,7 +265,7 @@ def notify_handler(verb, **kwargs): if isinstance(recipient, Group): recipients = recipient.user_set.all() elif isinstance(recipient, QuerySet) or isinstance(recipient, list): - pass + recipients = recipient else: recipients = [recipient]