summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-07-05 18:06:16 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-07-05 18:06:16 +0100
commit64196a670ccd3efbbf968d64a7b6fce00b8c5bdf (patch)
treefa8f30140f0e0df97f7fa64e17349217af277446
parent9c5a9c6d076317b4ab12a8c7da0a44984bf65dd1 (diff)
downloadpykolab-64196a670ccd3efbbf968d64a7b6fce00b8c5bdf.tar.gz
Correct the resulting message in message_from_string not detecting the message is multipart
-rw-r--r--wallace/module_resources.py2
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