From 6b9a55e62d04d334cde2d90d19dad8dc4919c0b5 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sat, 7 Jan 2012 00:19:08 -0500 Subject: Sync with Suelta. --- sleekxmpp/features/feature_mechanisms/stanza/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/features') 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 = '' -- cgit v1.2.3