1
0
mirror of https://github.com/fraoustin/piwigotools.git synced 2025-06-07 16:06:27 +00:00

Merge branch 'hotfix/V0.1.3'

This commit is contained in:
fraoustin 2018-02-07 20:43:44 +01:00
commit 2ffb2ec8c9

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