From 9575dff83870a4b2ca6dba565d3beb20ef1ae122 Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 28 May 2012 00:26:49 +0200 Subject: [PATCH] One message missing in return --- couchpotato/core/notifications/core/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/notifications/core/main.py b/couchpotato/core/notifications/core/main.py index d9789488..e2c7c6a0 100644 --- a/couchpotato/core/notifications/core/main.py +++ b/couchpotato/core/notifications/core/main.py @@ -184,7 +184,7 @@ class CoreNotifier(Notification): for i in xrange(len(self.messages)): index = len(self.messages) - i - 1 if self.messages[index]["message_id"] == last_id: break - recent = self.messages[index + 1:] + recent = self.messages[index:] self.m_lock.release()