Merge pull request #91 from DoiiarX/patch-1

fix re-creation bug
This commit is contained in:
Dominik Macháček 2024-05-21 16:35:36 +02:00 committed by GitHub
commit 8d60fd3bf6

View file

@ -160,7 +160,6 @@ class ServerProcessor:
# server loop
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind((args.host, args.port))
s.listen(1)
logger.info('Listening on'+str((args.host, args.port)))