folder/IMAP: fix typo with maxsize and maxage.

Signed-off-by: Bao Haojun <baohaojun@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Haojun Bao 2011-06-27 09:13:35 +08:00 committed by Nicolas Sebrecht
parent 6311716edb
commit 9d95d7bc62

View File

@ -137,7 +137,7 @@ class IMAPFolder(BaseFolder):
search_condition += date_search_str
if(maxsize != -1):
if(maxage != 1): #There are two conditions - add a space
if(maxage != -1): #There are two conditions - add a space
search_condition += " "
search_condition += "SMALLER " + self.config.getdefault("Account " + self.accountname, "maxsize", -1)