do not change Transaction.raw if there is no detail
This commit is contained in:
parent
7891ce6118
commit
cea81bee07
1 changed files with 3 additions and 1 deletions
|
|
@ -232,7 +232,9 @@ class AccountHistoryPage(LoggedPage, HTMLPage):
|
|||
if obj.category == 'RELEVE CB':
|
||||
return
|
||||
|
||||
obj.raw = Async('details', CleanText(u'//td[contains(text(), "Libellé")]/following-sibling::*[1]', default=obj.raw))(self)
|
||||
raw = Async('details', CleanText(u'//td[contains(text(), "Libellé")]/following-sibling::*[1]', default=obj.raw))(self)
|
||||
if raw:
|
||||
obj.raw = raw
|
||||
return True
|
||||
|
||||
def get_operations(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue