diff options
Diffstat (limited to 'iot_barcode_device_handler')
-rwxr-xr-x | iot_barcode_device_handler | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iot_barcode_device_handler b/iot_barcode_device_handler index 5c05aab..ef40d3e 100755 --- a/iot_barcode_device_handler +++ b/iot_barcode_device_handler @@ -30,6 +30,7 @@ def main(): if eventdata.keystate: with open(fifo_path, "w") as fifo: fifo.write(eventdata.keycode) + fifo.write("\n") fifo.flush() except KeyboardInterrupt: |