remove flushes

This commit is contained in:
Maxime Bloch 2020-01-22 19:36:31 +01:00
parent 65c71b8ed0
commit fc6d0a7bb1
No known key found for this signature in database
GPG key ID: CE32A7D95B7D6418

View file

@ -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()