fix parsing history when there are unicode chars in labels
This commit is contained in:
parent
1e7e17cf4a
commit
b2b2ff7b43
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ class AccountHistory(BasePage):
|
|||
while 1:
|
||||
d = XML(self.browser.readurl(url))
|
||||
el = d.xpath('//dataBody')[0]
|
||||
s = StringIO(el.text)
|
||||
s = StringIO(unicode(el.text).encode('iso-8859-1'))
|
||||
doc = self.browser.get_document(s)
|
||||
|
||||
for tr in self._iter_transactions(doc):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue