diff options
author | Lance Stout <lancestout@gmail.com> | 2012-01-07 00:19:08 -0500 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-01-07 00:19:08 -0500 |
commit | 6b9a55e62d04d334cde2d90d19dad8dc4919c0b5 (patch) | |
tree | 60bd7c9f786da473a364586fe37a44e254341bcf /sleekxmpp/features/feature_mechanisms/stanza/auth.py | |
parent | c578ddeb1aae6fb0a9f60092b53831c1e952058d (diff) | |
download | slixmpp-6b9a55e62d04d334cde2d90d19dad8dc4919c0b5.tar.gz slixmpp-6b9a55e62d04d334cde2d90d19dad8dc4919c0b5.tar.bz2 slixmpp-6b9a55e62d04d334cde2d90d19dad8dc4919c0b5.tar.xz slixmpp-6b9a55e62d04d334cde2d90d19dad8dc4919c0b5.zip |
Sync with Suelta.
Diffstat (limited to 'sleekxmpp/features/feature_mechanisms/stanza/auth.py')
-rw-r--r-- | sleekxmpp/features/feature_mechanisms/stanza/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/features/feature_mechanisms/stanza/auth.py b/sleekxmpp/features/feature_mechanisms/stanza/auth.py index 9155adf6..d2a981f9 100644 --- a/sleekxmpp/features/feature_mechanisms/stanza/auth.py +++ b/sleekxmpp/features/feature_mechanisms/stanza/auth.py @@ -43,7 +43,7 @@ class Auth(StanzaBase): if not self['mechanism'] in self.plain_mechs: self.xml.text = bytes(base64.b64encode(values)).decode('utf-8') else: - self.xml.text = values + self.xml.text = bytes(values).decode('utf-8') def del_value(self): self.xml.text = '' |