sgpe: fix crash on history
CapBaseObject.id is always a string.
This commit is contained in:
parent
adba87ddcb
commit
ba3704993a
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class SGPEBrowser(BaseBrowser):
|
||||||
self.history(account.id, page)
|
self.history(account.id, page)
|
||||||
assert self.is_on_page(HistoryPage)
|
assert self.is_on_page(HistoryPage)
|
||||||
for transaction in self.page.iter_transactions(account, basecount):
|
for transaction in self.page.iter_transactions(account, basecount):
|
||||||
basecount = transaction.id + 1
|
basecount = int(transaction.id) + 1
|
||||||
yield transaction
|
yield transaction
|
||||||
if self.page.has_next():
|
if self.page.has_next():
|
||||||
page += 1
|
page += 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue