mirror of
https://github.com/fraoustin/piwigotools.git
synced 2025-06-07 07:56:31 +00:00
Merge tag 'V0.1.2' into develop
V0.1.2
This commit is contained in:
commit
ba757463b9
@ -1,3 +1,8 @@
|
||||
0.1.2
|
||||
=====
|
||||
|
||||
- correction per page to int
|
||||
|
||||
0.1.1
|
||||
=====
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
Module piwigotools
|
||||
"""
|
||||
|
||||
__version_info__ = (0, 1, 1)
|
||||
__version_info__ = (0, 1, 2)
|
||||
__version__ = '.'.join([str(val) for val in __version_info__])
|
||||
|
||||
import inspect
|
||||
@ -134,7 +134,7 @@ class Piwigo(piwigo.Piwigo):
|
||||
req = self.pwg.categories.getImages(**kw)
|
||||
for img in req["images"]:
|
||||
imgs[img["file"]] = img
|
||||
if req["paging"]["count"] < req["paging"]["per_page"]:
|
||||
if int("paging"]["count"]) < req["paging"]["per_page"]:
|
||||
loop = False
|
||||
kw["page"] = kw["page"] + 1
|
||||
self._images[path] = imgs
|
||||
|
Loading…
x
Reference in New Issue
Block a user