X-Git-Url: https://git.ao2.it/SaveMySugar/python3-savemysugar.git/blobdiff_plain/88fce7811221c360966eb3af691a719930a2514d..297bb65e550d72eddf2cdd624ea96d18099941de:/src/receive.py?ds=inline diff --git a/src/receive.py b/src/receive.py index 042ec63..8c2c102 100755 --- a/src/receive.py +++ b/src/receive.py @@ -17,9 +17,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +import logging + from savemysugar.CallDistanceTransceiver import CallDistanceTransceiver from savemysugar.Modem import Modem -import logging # TODO: set the logging level from the command line FORMAT = "%(created)f %(levelname)s:%(funcName)s %(message)s" @@ -35,7 +36,7 @@ def receive(port): receiver.receive_loop() print() print("Message received!") - print((receiver.get_text())) + print(receiver.get_text(), flush=True) def main():