Update 'client.py'

This commit is contained in:
Mikołaj Lubiak 2022-06-22 15:49:48 +00:00
parent 36efbea200
commit a8511baef9
1 changed files with 48 additions and 48 deletions

View File

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