1
0
mirror of https://github.com/fraoustin/piwigotools.git synced 2025-06-07 16:06:27 +00:00
This commit is contained in:
fraoustin 2018-02-07 20:43:37 +01:00
parent 86a600e8c5
commit 5b55358167

View File

@ -134,7 +134,7 @@ class Piwigo(piwigo.Piwigo):
req = self.pwg.categories.getImages(**kw) req = self.pwg.categories.getImages(**kw)
for img in req["images"]: for img in req["images"]:
imgs[img["file"]] = img imgs[img["file"]] = img
if int("paging"]["count"]) < req["paging"]["per_page"]: if int(req["paging"]["count"]) < req["paging"]["per_page"]:
loop = False loop = False
kw["page"] = kw["page"] + 1 kw["page"] = kw["page"] + 1
self._images[path] = imgs self._images[path] = imgs