sgpe: At least have unique ids in a call
This commit is contained in:
parent
34d2ac007b
commit
ab7c812056
2 changed files with 5 additions and 3 deletions
|
|
@ -89,10 +89,12 @@ class SGPEBrowser(BaseBrowser):
|
|||
|
||||
def iter_history(self, account):
|
||||
page = 1
|
||||
basecount = 0
|
||||
while page:
|
||||
self.history(account.id, page)
|
||||
assert self.is_on_page(HistoryPage)
|
||||
for transaction in self.page.iter_transactions(account):
|
||||
for transaction in self.page.iter_transactions(account, basecount):
|
||||
basecount = transaction.id + 1
|
||||
yield transaction
|
||||
if self.page.has_next():
|
||||
page += 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue