Don't add trailing spaces when producing logs
[SaveMySugar/python3-savemysugar.git] / src / receive.py
index 042ec63..1d4fda1 100755 (executable)
@@ -35,7 +35,7 @@ def receive(port):
         receiver.receive_loop()
         print()
         print("Message received!")
         receiver.receive_loop()
         print()
         print("Message received!")
-        print((receiver.get_text()))
+        print(receiver.get_text(), flush=True)
 
 
 def main():
 
 
 def main():