Fix countries selector on Reports
use strings comparison, avoid encoded Element names
This commit is contained in:
parent
6ec12af6d7
commit
6f849befe0
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user