diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-08-04 14:42:07 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-08-06 14:21:08 -0400 |
commit | 8ed1696624ea76427bf1c13ae61a5f2289eb2e6b (patch) | |
tree | 25825b04bd8f37ea1eb2227ed28526a07fb7655e /klippy/webhooks.py | |
parent | 8a69e5d596f8f38d85a03d1cd24bdbe32a8b3b84 (diff) | |
download | kutter-8ed1696624ea76427bf1c13ae61a5f2289eb2e6b.tar.gz kutter-8ed1696624ea76427bf1c13ae61a5f2289eb2e6b.tar.xz kutter-8ed1696624ea76427bf1c13ae61a5f2289eb2e6b.zip |
gcode: Only write to the gcode pseudo-tty if it appears to be active
If there isn't a reader of the output pipe it can lead to the
generation of a large number of errors. Only attempt to write if it
appears the pipe is active.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/webhooks.py')
0 files changed, 0 insertions, 0 deletions