diff options
author | Kali Kaneko <kali@leap.se> | 2015-02-19 00:58:52 -0400 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2015-02-20 17:35:29 -0300 |
commit | 6eb1f599d49adc860efba3ccc30b15035dcaa6b0 (patch) | |
tree | 6c6eccc8eb0a8fc19bf963c7a2c0e200c36d157b /src/leap/mail/outgoing | |
parent | 1a0c34b145f0dfc1ea34d3670d93b4a0ce9ae4db (diff) |
fix broken multipart attachment rendering
Diffstat (limited to 'src/leap/mail/outgoing')
-rw-r--r-- | src/leap/mail/outgoing/service.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/mail/outgoing/service.py b/src/leap/mail/outgoing/service.py index c881830..f3c2320 100644 --- a/src/leap/mail/outgoing/service.py +++ b/src/leap/mail/outgoing/service.py @@ -91,7 +91,10 @@ class OutgoingMail: # assert params leap_assert_type(from_address, str) leap_assert('@' in from_address) - leap_assert_type(keymanager, KeyManager) + + # XXX it can be a zope.proxy too + # leap_assert_type(keymanager, KeyManager) + leap_assert_type(host, str) leap_assert(host != '') leap_assert_type(port, int) |