Skip to content

Commit

Permalink
use backend.keyToBase64 in client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainL972 committed Feb 14, 2020
1 parent 12acf02 commit 964efc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

s.connect((host, port))
print("Connected to", s.getpeername())
s.send(b"p " + base64.b64encode(backend.keyToJson(key).encode()) + b"\n")
s.send(b"p " + backend.keyToBase64(key) + b"\n")

while True:
text = input("Votre message: ")
Expand Down

0 comments on commit 964efc0

Please sign in to comment.