Fix string output in XMLMap

master
pictuga 2013-05-05 16:04:42 +02:00
parent adebe23232
commit 1506a5c0cd
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ class XMLMap(object):
else:
out = self._xml.__getattr__(tag)
return out.text.encode('utf-8') if self._str else out
return unicode(out).encode('utf-8') if self._str else out
def __getitem__(self, tag):
if self.__contains__(tag):