summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0047/stanza.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-02-03 16:03:46 +0100
committerLance Stout <lancestout@gmail.com>2012-02-03 16:03:46 +0100
commit85dd005abc9496314f954ed6dbdc22f79387c308 (patch)
treec1abd31901fbd73c53189a1eeec396a0159c40fc /sleekxmpp/plugins/xep_0047/stanza.py
parent021c57205f79919703354cb2a01ac939e9b4afe2 (diff)
downloadslixmpp-85dd005abc9496314f954ed6dbdc22f79387c308.tar.gz
slixmpp-85dd005abc9496314f954ed6dbdc22f79387c308.tar.bz2
slixmpp-85dd005abc9496314f954ed6dbdc22f79387c308.tar.xz
slixmpp-85dd005abc9496314f954ed6dbdc22f79387c308.zip
Fix infinite callback loop.
Diffstat (limited to 'sleekxmpp/plugins/xep_0047/stanza.py')
-rw-r--r--sleekxmpp/plugins/xep_0047/stanza.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0047/stanza.py b/sleekxmpp/plugins/xep_0047/stanza.py
index 2e4f8ccc..f5b77c0e 100644
--- a/sleekxmpp/plugins/xep_0047/stanza.py
+++ b/sleekxmpp/plugins/xep_0047/stanza.py
@@ -53,7 +53,7 @@ class Data(ElementBase):
raise XMPPError('not-acceptable')
def set_data(self, value):
- self.xml.text = to_64(value)
+ self.xml.text = to_b64(value)
def del_data(self):
self.xml.text = ''