From 304f0cc995f6d861edca19ebf7c0ee8f8c6a2ea1 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Tue, 27 Dec 2016 02:08:19 +0100 Subject: [feature] pixelated UA integration a bit hacky and all, but this should launch the service and allow interacting from the default site (localhost:9090). this is the first example of a pyqt-js bridge, it's an interesting mechanism that we can use more in the future. no efforts made so far in authenticating the app. --- src/leap/bitmask/mail/outgoing/service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/leap/bitmask/mail') diff --git a/src/leap/bitmask/mail/outgoing/service.py b/src/leap/bitmask/mail/outgoing/service.py index 249cabe4..bd578ed2 100644 --- a/src/leap/bitmask/mail/outgoing/service.py +++ b/src/leap/bitmask/mail/outgoing/service.py @@ -129,9 +129,9 @@ class OutgoingMail(object): leap_assert(host != '') leap_assert_type(port, int) leap_assert(port is not 0) - leap_assert_type(cert, unicode) + leap_assert_type(cert, basestring) leap_assert(cert != '') - leap_assert_type(key, unicode) + leap_assert_type(key, basestring) leap_assert(key != '') self._port = port -- cgit v1.2.3