aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVG <vg@devys.org>2016-05-10 17:43:38 +0200
committerVG <vg@devys.org>2016-05-10 17:43:38 +0200
commit759b5713837e3a0e3d911de32e724cd610abea64 (patch)
tree804329392e373af49da750a0e5402d6d06818942
parente9c18005bffb17415c1ea16c45570cce86c6aa83 (diff)
downloadcliml-759b5713837e3a0e3d911de32e724cd610abea64.tar.gz
climl-759b5713837e3a0e3d911de32e724cd610abea64.tar.bz2
climl-759b5713837e3a0e3d911de32e724cd610abea64.zip
Fix list comprehension syntax error
-rw-r--r--climl/imap.py2
1 files changed, 1 insertions, 1 deletions
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):