Mercurial > libervia-backend
diff src/plugins/plugin_xep_0096.py @ 536:a31abb97310d
core, plugins: fixed bad namespace in stanza creation
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 01 Nov 2012 22:41:39 +0100 |
parents | 2a072735e459 |
children | 2c4016921403 |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0096.py Thu Nov 01 19:52:59 2012 +0100 +++ b/src/plugins/plugin_xep_0096.py Thu Nov 01 22:41:39 2012 +0100 @@ -171,7 +171,7 @@ misc_elts = [] misc_elts.append(domish.Element((PROFILE, "file"))) if can_range: - range_elt = domish.Element(('', "range")) + range_elt = domish.Element((None, "range")) range_elt['offset'] = str(range_offset) #TODO: manage range length misc_elts.append(range_elt)