[start #35862759] fixed bug in handle_wishlist_added

pull/1/head
eric 2012-09-11 14:06:46 -04:00
parent 5ddc050ff9
commit dc94a207cc
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ def handle_wishlist_added(supporter, work, **kwargs):
"""send notification to confirmed rights holder when someone wishes for their work""" """send notification to confirmed rights holder when someone wishes for their work"""
claim = work.claim.filter(status="active") claim = work.claim.filter(status="active")
if claim: if claim:
notification.queue([claim.user], "new_wisher", { notification.queue([claim[0].user], "new_wisher", {
'supporter': supporter, 'supporter': supporter,
'work': work 'work': work
}, True) }, True)