mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-05 21:20:51 +00:00
updates
This commit is contained in:
parent
b40d568744
commit
f967086878
@ -164,7 +164,7 @@ class Message(Logger):
|
||||
|
||||
# otherwise lets do it
|
||||
self.msg_encr = self.msg
|
||||
self.log(f'Attempting to decrypt {self}')
|
||||
self.log(f'Attempting to decrypt:\n{self}')
|
||||
|
||||
# decrypt msg
|
||||
# self.log('attempting to decrypt',self.msg,'from',self.from_pubkey,'to',self.to_whom,self.to_whom.keychain(),self.to_whom.assemble(self.to_whom.keychain()))
|
||||
|
@ -171,7 +171,7 @@ class Operator(Keymaker):
|
||||
raise KomradeException(f'Not a valid route!: {route}')
|
||||
|
||||
# route it!
|
||||
self.log(f'Routing msg to {self}.{route}() for msg data:\n\n{dict_format(msg_obj.data,tab=4)}')
|
||||
self.log(f'Routing msg to {self}.{route}():\n\n{dict_format(msg_obj.data,tab=4)}')
|
||||
func = getattr(self,route)
|
||||
new_data = func(**data)
|
||||
self.log(f'New data was received back from {self}.{route}() route:\b\b{dict_format(new_data,tab=4)}')
|
||||
|
Loading…
Reference in New Issue
Block a user