Update 'server.py'

This commit is contained in:
Mikołaj Lubiak 2022-06-22 15:51:28 +00:00
parent 5e02ea0763
commit 15059c971c
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class Server:
if len(argv) == 4: k = argv[3].encode()
else:
k = Fernet.generate_key()
print(k).decode()
print(k.decode())
self.f = Fernet(k)
self.s.bind((argv[1], int(argv[2])))
self.s.listen(3)