[deviantart] fix 'manual' cursor-based pagination (#6079)

This commit is contained in:
Mike Fährmann
2024-08-23 16:03:38 +02:00
parent 4b94b7d477
commit 3bffe7a8bd

View File

@@ -1462,6 +1462,8 @@ class DeviantartOAuthAPI():
return
if "next_cursor" in data:
if not data["next_cursor"]:
return
params["offset"] = None
params["cursor"] = data["next_cursor"]
elif data["next_offset"] is not None: