X-Git-Url: https://git.toastfreeware.priv.at/toast/airingbutler.git/blobdiff_plain/2776b111a5326681c720858251ccf3788b54020d..f1d8251ceeebcba517453da6c75293f20958a59e:/log_mhz19.py diff --git a/log_mhz19.py b/log_mhz19.py old mode 100644 new mode 100755 index 57140d6..e99ceae --- a/log_mhz19.py +++ b/log_mhz19.py @@ -1,3 +1,5 @@ +#!/usr/bin/python3 + import argparse import asyncio import logging @@ -26,7 +28,7 @@ class Receiver(asyncio.Protocol): def data_received(self, data): data = data.decode() - print(data, end='') + print(data, end='', flush=True) def connection_lost(self, exc): log.debug('port closed')