projects
/
mtxbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
732dbf2
)
be more tolerant on fifo writing
author
Alexander Schmidt
<alex@treefish.org>
Fri, 9 Oct 2020 07:18:33 +0000
(09:18 +0200)
committer
Alexander Schmidt
<alex@treefish.org>
Fri, 9 Oct 2020 07:18:33 +0000
(09:18 +0200)
src/mtxbot-post.py
patch
|
blob
|
history
diff --git
a/src/mtxbot-post.py
b/src/mtxbot-post.py
index f7e536550ecc9432ced3f80b68b1ed9635b55485..d1f713f07bdd2cf2dbb788d3fbf60292b800741d 100755
(executable)
--- 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: