[flickr] fix extraction
This issue was only noticeable with older Python versions, as these don't exhibit a consistent ordering of dict keys.
This commit is contained in:
@@ -384,7 +384,7 @@ class FlickrAPI():
|
||||
data = self._call(method, params)
|
||||
|
||||
for key, obj in data.items():
|
||||
if key != "stats":
|
||||
if not key.startswith("stat"):
|
||||
break
|
||||
del obj["page"]
|
||||
del obj["perpage"]
|
||||
|
||||
Reference in New Issue
Block a user