From 759b5713837e3a0e3d911de32e724cd610abea64 Mon Sep 17 00:00:00 2001 From: VG Date: Tue, 10 May 2016 17:43:38 +0200 Subject: Fix list comprehension syntax error --- climl/imap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/climl/imap.py b/climl/imap.py index 151b870..19354d3 100644 --- a/climl/imap.py +++ b/climl/imap.py @@ -103,7 +103,7 @@ def imap_waiter(connection): raise print('quitting idle mode...') connection.idle_done() - return [i for i in events if i[1] == b'RECENT'), encoding='ascii') != 'OK'] + return [i for i in events if i[1] == b'RECENT'] def main(callback=None): -- cgit v1.2.3