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:08:33 +01:00
parent 9bfc58fbd6
commit 25a22a14f5
2 changed files with 6 additions and 3 deletions

View File

@ -68,7 +68,10 @@ class TheOperator(Operator):
# unseal
self.log('got:',data_b)
msg_d = pickle.loads(data_b)
msg_d = {
'msg':data_b
}
# msg_d = pickle.loads(data_b)
self.log('msg_d',msg_d)
msg_obj = Message(msg_d,from_whom=self.op,to_whom=self)

View File

@ -27,9 +27,9 @@ class TheTelephone(Operator):
# opp = Operator(pubkey=msg_d['to'])
# self.log('got opp:',opp.pubkey.data == msg_d['to'], self.op.pubkey.data == msg_d['to'])
self.log('got msg_d:',msg_d)
# self.log('got msg_d:',msg_d)
self.log('but going to send just msg?',msg_b)
# self.log('but going to send just msg?',msg_b)
msg_b=msg_d["msg"]
msg_b64 = b64encode(msg_b)