don't try to recover transaction from DAT account
This commit is contained in:
parent
4a6aaaec2b
commit
3ca0e5c7d0
1 changed files with 3 additions and 0 deletions
|
|
@ -253,6 +253,9 @@ class TransactionsPage(BasePage):
|
|||
self.browser.location(form.attrib['action'], urllib.urlencode(args))
|
||||
|
||||
def get_history(self):
|
||||
#DAT account can't have transaction
|
||||
if self.document.xpath('//table[@id="table-dat"]'):
|
||||
return
|
||||
tables = self.document.xpath('//table[@id="table-detail-operation"]')
|
||||
if len(tables) == 0:
|
||||
tables = self.document.xpath('//table[@id="table-detail"]')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue