mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-04-17 19:40:07 +02:00
removed log for raw and tiff files found
This commit is contained in:
@@ -383,10 +383,8 @@ def process_image(item: str, folder: str, _args: Args, baseurl: str, metadata: M
|
|||||||
if os.path.exists(file):
|
if os.path.exists(file):
|
||||||
url = f"{_args.web_root_url}{baseurl}{urllib.parse.quote(extsplit[0])}{_raw}"
|
url = f"{_args.web_root_url}{baseurl}{urllib.parse.quote(extsplit[0])}{_raw}"
|
||||||
if _raw in (".tif", ".tiff"):
|
if _raw in (".tif", ".tiff"):
|
||||||
logger.info("tiff file found", extra={"file": file})
|
|
||||||
image.tiff = url
|
image.tiff = url
|
||||||
else:
|
else:
|
||||||
logger.info("raw file found", extra={"file": file, "extension": _raw})
|
|
||||||
image.raw = url
|
image.raw = url
|
||||||
|
|
||||||
metadata.images[item] = image
|
metadata.images[item] = image
|
||||||
|
|||||||
Reference in New Issue
Block a user