From 9233c8a6cebc2c7af734dda54fed37898d86d907 Mon Sep 17 00:00:00 2001 From: yeago Date: Fri, 7 Feb 2014 00:37:26 +0100 Subject: [PATCH] x --- subscription/context_processors.py | 1 + 1 file changed, 1 insertion(+) diff --git a/subscription/context_processors.py b/subscription/context_processors.py index 0b22e2d..4b572e8 100644 --- a/subscription/context_processors.py +++ b/subscription/context_processors.py @@ -8,6 +8,7 @@ def get_actstream(request): If we have 'undelivered' items, we deliver them to the unacknowledged list """ stream = user_stream(request.user) + unacknowledged = None if stream: unacknowledged = request.user.get_profile( ).stream_pending_acknowledgements(stream[0][0])