From bffe955700d1ba5528a0b6c40e8704241f9916be Mon Sep 17 00:00:00 2001 From: tonio Date: Fri, 30 Apr 2010 17:03:33 +0200 Subject: [PATCH] Bugfix : a folder with only on message was displayed as empty. --- lib/email_listing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/email_listing.py b/lib/email_listing.py index de190322e..66973e001 100644 --- a/lib/email_listing.py +++ b/lib/email_listing.py @@ -69,7 +69,7 @@ class Paginator(object): return None id_start, id_stop = self._indexes(page - 1) has_previous = has_next = False - if id_start < self.total: + if id_start <= self.total: if page > 1: has_previous = True if id_stop < self.total: