fix bug: should not compare list to int

Signed-off-by: Xudong Zhang <felixmelon@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Xudong Zhang 2016-11-02 12:14:54 +08:00 committed by Nicolas Sebrecht
parent a5e32929b6
commit a92816bd6d

View File

@ -61,7 +61,7 @@ class IMAPFolder(BaseFolder):
# self.copy_ignoreUIDs is used by BaseFolder. # self.copy_ignoreUIDs is used by BaseFolder.
self.copy_ignoreUIDs = repository.get_copy_ignore_UIDs( self.copy_ignoreUIDs = repository.get_copy_ignore_UIDs(
self.getvisiblename()) self.getvisiblename())
if self.repository.getidlefolders() > 0: if self.repository.getidlefolders():
self.idle_mode = True self.idle_mode = True