2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-03 23:15:33 +00:00
This commit is contained in:
quadrismegistus 2020-09-13 10:47:30 +01:00
parent 5b9252bcb9
commit 8b9e5677cc
2 changed files with 3 additions and 3 deletions

View File

@ -144,7 +144,7 @@ class Komrade(Caller):
# save qr too:
uri_id = b64enc(pubkey_b)
qr_str=self.qr_str(uri_id=uri_id)
qr_str=self.qr_str(uri_id)
fnfn=self.save_uri_as_qrcode(uri_id)
self.log(f'saved public key as QR code to:\n {fnfn}\n\n{qr_str}')

View File

@ -53,9 +53,9 @@ class TheTelephone(Operator):
resp_msg_b64 = resp_msg_b64_str.encode()
resp_msg_b = b64decode(resp_msg_b64)
self.log('resp_msg_b:',resp_msg_b)
# self.log('resp_msg_b:',resp_msg_b)
resp_msg_d = pickle.loads(resp_msg_b)
self.log('unpickled:',resp_msg_d)
# self.log('unpickled:',resp_msg_d)
# unseal
from komrade.backend.messages import Message