From f161720a1078fba60debc8584f070727b9fcdb69 Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Sat, 23 Mar 2019 12:19:52 +0100 Subject: [PATCH] nicer --- test/sync_handshake.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sync_handshake.py b/test/sync_handshake.py index 13c07e1..17f91da 100644 --- a/test/sync_handshake.py +++ b/test/sync_handshake.py @@ -51,9 +51,9 @@ def print_msg(p): t = f.read(-1) msg = pEp.Message(t) print("\n" + colored(p.name, color)) - print(datetime.fromtimestamp(p.stat().st_mtime)) + print(colored(datetime.fromtimestamp(p.stat().st_mtime), color)) m = re.search("(.*)", msg.opt_fields["pEp.sync"]) - print(m.group(1)) + print(m.group(1).strip()) def messageToSend(msg):