Skip to content

Commit

Permalink
fixed recursion failure
Browse files Browse the repository at this point in the history
git-svn-id: https://django-notification.googlecode.com/svn/trunk@85 590c3fc9-4838-0410-bb95-17a0c9b37ca9
  • Loading branch information
jezdez committed Jul 19, 2008
1 parent db1026a commit e8c02b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notification/models.py
Expand Up @@ -205,7 +205,6 @@ def send(recipient, label, extra_context={}, issue_notice=True):
})
context.update(extra_context)

recipients = []
current_language = get_language()

formats = (
Expand All @@ -216,6 +215,7 @@ def send(recipient, label, extra_context={}, issue_notice=True):
) # TODO make formats configurable

for user in recipient:
recipients = []
# get user profiles if available
try:
profile = user.get_profile()
Expand Down

0 comments on commit e8c02b1

Please sign in to comment.