From e1d051efa92789d22a171be8e260ea8011c4844f Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Thu, 6 Jun 2019 22:36:21 +0200 Subject: [PATCH] rollback --- 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 a7a6425..d259814 100644 --- a/test/sync_handshake.py +++ b/test/sync_handshake.py @@ -72,7 +72,7 @@ def print_msg(p): raise TypeError("print_msg(): pathlib.Path and pEp.Message supported, but " + str(type(p)) + " delivered") - m = re.search("(.*)", msg.opt_fields["pEp-sync"].replace("\n", " ")) + m = re.search("(.*)", msg.opt_fields["pEp.sync"].replace("\n", " ")) if m: if etree: tree = objectify.fromstring(m.group(1).replace("\r", "")) @@ -91,7 +91,7 @@ def messageToSend(msg): m = msg text = "\n" + m.attachments[0].decode() output(text) - msg.opt_fields = { "pEp-sync": text } + msg.opt_fields = { "pEp.sync": text } minimail.send(inbox, msg, device_name)