Commit 6565b92f authored by Charlie Jacomme's avatar Charlie Jacomme

Revert "fix list function to follow pages"

Stupid Charlie, stupid
This reverts commit 61aba481.
parent 61aba481
......@@ -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']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment