2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-05 21:20:51 +00:00
This commit is contained in:
quadrismegistus 2020-09-13 12:27:26 +01:00
parent b40d568744
commit f967086878
2 changed files with 2 additions and 2 deletions

View File

@ -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()))

View File

@ -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)}')