From 3e38f2d027e4fc4cbd5f419721c089d665f1f16c Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Sun, 13 Sep 2020 09:54:01 +0100 Subject: [PATCH] updates --- komrade/backend/messages.py | 2 +- komrade/backend/operators.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/komrade/backend/messages.py b/komrade/backend/messages.py index f1e7cd0..a7fd190 100644 --- a/komrade/backend/messages.py +++ b/komrade/backend/messages.py @@ -58,7 +58,7 @@ class Message(Logger): import textwrap msg = textwrap.indent(repr(Message(self.msg)),' '*10) else: - msg=dict_format(self.msg,tab=4) + msg=dict_format(self.msg,tab=6) elif type(self.msg)==bytes: msg=b64enc_s(self.msg) else: diff --git a/komrade/backend/operators.py b/komrade/backend/operators.py index 41d238f..6148f64 100644 --- a/komrade/backend/operators.py +++ b/komrade/backend/operators.py @@ -282,7 +282,7 @@ class Operator(Keymaker): ... {self}: pronto? -{msg_obj.from_whom}: Ciao. I have a message for you: {msg_obj}\n''') +{msg_obj.from_whom}: Ciao ciao. I have a message for you:\n{msg_obj}\n''') return self.route_msg(msg_obj,reencrypt=True)