Update 'client.py'
This commit is contained in:
parent
36efbea200
commit
a8511baef9
1 changed files with 48 additions and 48 deletions
|
@ -18,7 +18,7 @@ class client():
|
||||||
if len(argv) == 4: k = argv[3].encode()
|
if len(argv) == 4: k = argv[3].encode()
|
||||||
else:
|
else:
|
||||||
k = Fernet.generate_key()
|
k = Fernet.generate_key()
|
||||||
print(k)
|
print(k).decode()
|
||||||
self.f = Fernet(k)
|
self.f = Fernet(k)
|
||||||
self.s.connect((argv[1], int(argv[2])))
|
self.s.connect((argv[1], int(argv[2])))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue