diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-07-05 18:06:16 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-07-05 18:06:16 +0100 |
commit | 64196a670ccd3efbbf968d64a7b6fce00b8c5bdf (patch) | |
tree | fa8f30140f0e0df97f7fa64e17349217af277446 | |
parent | 9c5a9c6d076317b4ab12a8c7da0a44984bf65dd1 (diff) | |
download | pykolab-64196a670ccd3efbbf968d64a7b6fce00b8c5bdf.tar.gz |
Correct the resulting message in message_from_string not detecting the message is multipart
-rw-r--r-- | wallace/module_resources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wallace/module_resources.py b/wallace/module_resources.py index 5a66dda..3f34105 100644 --- a/wallace/module_resources.py +++ b/wallace/module_resources.py @@ -127,7 +127,7 @@ def execute(*args, **kw): _message = json.load(open(filepath, 'r')) log.debug("Loaded message %r" % (_message), level=9) - message = message_from_string(_message['data']) + message = message_from_string(str(_message['data'])) recipients = _message['to'] any_itips = False |