Browse Source

manager: fix unicode regression

master
Maurizio Porrato 8 years ago
parent
commit
1ca682282d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frn/utility.py

+ 1
- 1
frn/utility.py View File

@@ -30,6 +30,6 @@ def formatSimpleXML(elements):
items = elements.items()
else:
items = elements
return ''.join(["<%s>%s</%s>" % (k.upper().encode('utf8'),v.encode('utf8'),k.upper().encode('utf8')) for k,v in items])
return ''.join(["<%s>%s</%s>" % (k.upper().encode('utf8'),unicode(v).encode('utf8'),k.upper().encode('utf8')) for k,v in items])

# vim: set et ai sw=4 ts=4 sts=4:

Loading…
Cancel
Save