symbols_distances.gnuplot: use more informative titles
[SaveMySugar/python3-savemysugar.git] / src / receive.py
index 042ec63..8c2c102 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+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():