mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 11:09:26 +00:00
.get
This commit is contained in:
@@ -160,7 +160,7 @@ def process_image(item: str, folder: str, _args: Args, baseurl: str, sizelist: D
|
|||||||
"name": item,
|
"name": item,
|
||||||
"width": sizelist[item]["width"],
|
"width": sizelist[item]["width"],
|
||||||
"height": sizelist[item]["height"],
|
"height": sizelist[item]["height"],
|
||||||
"exifdata": sizelist[item]["exifdata"],
|
"exifdata": sizelist[item].get("exifdata", ""),
|
||||||
}
|
}
|
||||||
path = os.path.join(_args.root_directory, ".thumbnails", baseurl, item + ".jpg")
|
path = os.path.join(_args.root_directory, ".thumbnails", baseurl, item + ".jpg")
|
||||||
if not os.path.exists(path) or _args.regenerate_thumbnails:
|
if not os.path.exists(path) or _args.regenerate_thumbnails:
|
||||||
|
|||||||
Reference in New Issue
Block a user