Support pagination for history, fix crash when the call is free
This commit is contained in:
parent
eab0f51e29
commit
5cdefd8966
2 changed files with 13 additions and 3 deletions
|
|
@ -62,7 +62,8 @@ class PoivyBrowser(LoginBrowser):
|
|||
|
||||
@need_login
|
||||
def get_history(self):
|
||||
return self.history.stay_or_go().get_calls()
|
||||
self.history.stay_or_go()
|
||||
return self.pagination(lambda: self.page.get_calls())
|
||||
|
||||
@need_login
|
||||
def iter_bills(self, parentid):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue