make it work

This commit is contained in:
ZettaScript 2024-02-03 16:58:24 +01:00
commit 24a4126a8d
2 changed files with 7 additions and 6 deletions

View file

@ -7,7 +7,7 @@ port = int(sys.argv[2])
if sys.argv[1] == "s":
sock.listen(("0.0.0.0", port))
while True:
for (d, a) in sock.poll():
for d, a in sock.poll():
print(d, a)
time.sleep(0.1)
elif sys.argv[1] == "c":