Skip to content

Commit 3a5ea33

Browse files
author
Daniel Mach
committed
Fix shortcuts to run on py2.4.
1 parent beda8ad commit 3a5ea33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kobo/shortcuts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def run(self):
307307
else:
308308
try:
309309
lines = proc.stdout.read(buffer_size)
310-
except (IOError, OSError) as ex:
310+
except (IOError, OSError), ex:
311311
import errno
312312
if ex.errno == errno.EINTR:
313313
continue

0 commit comments

Comments
 (0)