Revert "fix list function to follow pages"
Stupid Charlie, stupid
This reverts commit 61aba4812b
.
This commit is contained in:
parent
61aba4812b
commit
6565b92f3b
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ class Re2oAPIClient:
|
|||
results = response['results']
|
||||
|
||||
# Get all next pages and append the results
|
||||
while results['next'] is not None and \
|
||||
while response['next'] is not None and \
|
||||
(max_results is None or len(results) < max_results):
|
||||
response = self.get(response['next'])
|
||||
results += response['results']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue