diff options
Diffstat (limited to 'sleekxmpp/xmlstream/tostring/tostring.py')
-rw-r--r-- | sleekxmpp/xmlstream/tostring/tostring.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/tostring/tostring.py b/sleekxmpp/xmlstream/tostring/tostring.py index c2696321..d8f5c5b2 100644 --- a/sleekxmpp/xmlstream/tostring/tostring.py +++ b/sleekxmpp/xmlstream/tostring/tostring.py @@ -46,7 +46,7 @@ def tostring(xml=None, xmlns='', stanza_ns='', stream=None, outbuffer=''): if stream and tag_xmlns in stream.namespace_map: mapped_namespace = stream.namespace_map[tag_xmlns] if mapped_namespace: - tag = "%s:%s" % (mapped_namespace, tag_name) + tag_name = "%s:%s" % (mapped_namespace, tag_name) output.append("<%s" % tag_name) output.append(namespace) |