script/stream/recorder_tweetstream.py
changeset 256 2f335337ff64
parent 255 500cd0405c7a
child 260 b97a72ab59a2
--- a/script/stream/recorder_tweetstream.py	Wed Aug 17 18:32:07 2011 +0200
+++ b/script/stream/recorder_tweetstream.py	Wed Aug 17 18:35:14 2011 +0200
@@ -267,6 +267,8 @@
                 logging.getLogger(record.name).handle(record)
             except Queue.Empty:
                 continue
+            except IOError:
+                continue
         time.sleep(0.1)