Commit 137e48f922d6b5c691526faf12c3ff95412ef19a

Authored by Rohan Rangray
1 parent 4f3df4b576
Exists in master

Fixed stupid indexing bug

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

flashcards/management/commands/notifyusers.py View file @ 137e48f
... ... @@ -18,5 +18,5 @@
18 18 notify_list = map(lambda x: x[0], notify_filter)
19 19  
20 20 for user in User.objects.filter(pk__in=notify_list):
21   - user[0].notify()
  21 + user.notify()