kopia lustrzana https://github.com/ihabunek/toot
Don't duplicate parameters when paging
rodzic
889459cbd0
commit
af91d2c9dd
|
@ -72,7 +72,7 @@ def get_paged(app, user, path, params=None, headers=None):
|
|||
path += f"?{urlencode(params)}"
|
||||
|
||||
while path:
|
||||
response = get(app, user, path, params, headers)
|
||||
response = get(app, user, path, headers=headers)
|
||||
yield response
|
||||
path = _next_path(response)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue