From fc6d0a7bb14fcaed14b0cbf9d8319b33a3d6235a Mon Sep 17 00:00:00 2001 From: Maxime Bloch Date: Wed, 22 Jan 2020 19:36:31 +0100 Subject: [PATCH] remove flushes --- listener.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/listener.py b/listener.py index 572f4d1..fd8e831 100644 --- a/listener.py +++ b/listener.py @@ -1,13 +1,11 @@ import datetime import socket -import sys from utils import mac_address, broadcast_address if __name__ == "__main__": print("Starting listener...") - sys.stdout.flush() connection = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.ntohs(3)) @@ -28,5 +26,3 @@ if __name__ == "__main__": print("Congratulations, packet received correctly!") else: print("Wrong message, please check that you are sending \"ZeusWPI is de max!\"") - - sys.stdout.flush()