summaryrefslogtreecommitdiff
path: root/sleekxmpp/util/sasl/mechanisms.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2014-02-06 09:20:24 -0800
committerLance Stout <lancestout@gmail.com>2014-02-06 09:20:24 -0800
commit49acdac7765498f11b79dd826742ce8570aae5d2 (patch)
tree318b38ce41c99b47f4235c69202b93135837a092 /sleekxmpp/util/sasl/mechanisms.py
parent654420e351630523d9954e98da566cfd3be4b929 (diff)
parent7e1587faa28067b635068282acf4affe7a97e2ea (diff)
downloadslixmpp-49acdac7765498f11b79dd826742ce8570aae5d2.tar.gz
slixmpp-49acdac7765498f11b79dd826742ce8570aae5d2.tar.bz2
slixmpp-49acdac7765498f11b79dd826742ce8570aae5d2.tar.xz
slixmpp-49acdac7765498f11b79dd826742ce8570aae5d2.zip
Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
Diffstat (limited to 'sleekxmpp/util/sasl/mechanisms.py')
-rw-r--r--sleekxmpp/util/sasl/mechanisms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/util/sasl/mechanisms.py b/sleekxmpp/util/sasl/mechanisms.py
index 1eb6af83..523eabc2 100644
--- a/sleekxmpp/util/sasl/mechanisms.py
+++ b/sleekxmpp/util/sasl/mechanisms.py
@@ -111,7 +111,7 @@ class X_FACEBOOK_PLATFORM(Mech):
b'api_key': self.credentials['api_key']
}
- resp = '&'.join(['%s=%s' % (k, v) for k, v in resp_data.items()])
+ resp = '&'.join(['%s=%s' % (k.decode("utf-8"), v.decode("utf-8")) for k, v in resp_data.items()])
return bytes(resp)
return b''