Fix countries selector on Reports

use strings comparison, avoid encoded Element names
This commit is contained in:
Paul Franklin 2015-10-05 16:40:10 +02:00 committed by romjerome
parent 90dd4afd06
commit c97a254188

View File

@ -305,7 +305,7 @@ class _Xml2Obj:
def start_element(self, name, attributes):
'SAX start element even handler'
# Instantiate an Element object
element = _Element(name.encode(), attributes)
element = _Element(name, attributes)
# Push element onto the stack and make it a child of parent
if len(self.nodeStack) > 0:
parent = self.nodeStack[-1]