1
0
mirror of https://github.com/fraoustin/piwigotools.git synced 2025-06-07 07:56:31 +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)
for img in req["images"]:
imgs[img["file"]] = img
if int("paging"]["count"]) < req["paging"]["per_page"]:
if int(req["paging"]["count"]) < req["paging"]["per_page"]:
loop = False
kw["page"] = kw["page"] + 1
self._images[path] = imgs