--- cicero-0.7.2.orig/app_brltty_es.py
+++ cicero-0.7.2/app_brltty_es.py
@@ -18,7 +18,7 @@
 # In the other direction we send back indexes to track the current
 # listening position.
 
-import os, sys, struct
+import os, sys, struct, errno
 
 import setencoding
 import tracing
@@ -44,7 +44,7 @@
             sys.stdout.write(d)
             sys.stdout.flush()
         except IOError, x:
-            if x.errno == 32:
+            if x.errno == errno.EPIPE:
                 trace('Exit on broken pipe')
                 sys.exit(0)
             else:
