mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-03-16 21:30:24 +00:00
Fix variable assignment
Sorry, my bad!! :|
This commit is contained in:
parent
3d14fd6b1a
commit
9565bbc731
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue