X-Git-Url: http://git.treefish.org/~alex/mtxbot.git/blobdiff_plain/732dbf2c4afa69b93f9e7e05d3d46d334059d00e..bb49ec12c34aa247c5a972695a318324fffa15ca:/src/mtxbot-post.py?ds=inline diff --git a/src/mtxbot-post.py b/src/mtxbot-post.py index f7e5365..d1f713f 100755 --- a/src/mtxbot-post.py +++ b/src/mtxbot-post.py @@ -24,7 +24,7 @@ def send_line(line): posix.write(fifo, line) return except OSError as e: - if e.errno == errno.ENXIO: + if e.errno == errno.ENXIO or e.errno == errno.EAGAIN: time.sleep(1.0) finally: if fifo != -1: