summaryrefslogtreecommitdiff
path: root/wallace/module_resources.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-07-05 17:06:16 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-07-05 19:25:16 (GMT)
commit4e63299089254bbe6be5fa6e58458475276825cb (patch)
tree5a996b8d57c6c71b11fed4beb36006dac009b76a /wallace/module_resources.py
parentcebd042b87b5a85ea6f840b9c51c953dd0b9c282 (diff)
downloadpykolab-4e63299089254bbe6be5fa6e58458475276825cb.tar.gz
Correct the resulting message in message_from_string not detecting the message is multipart
Diffstat (limited to 'wallace/module_resources.py')
-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 cd92e3c..b2924fa 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