removed log for raw and tiff files found

This commit is contained in:
2026-02-09 10:33:28 +01:00
committed by Florian Greistorfer
parent c60645d019
commit c316653b01

View File

@@ -383,10 +383,8 @@ def process_image(item: str, folder: str, _args: Args, baseurl: str, metadata: M
if os.path.exists(file):
url = f"{_args.web_root_url}{baseurl}{urllib.parse.quote(extsplit[0])}{_raw}"
if _raw in (".tif", ".tiff"):
logger.info("tiff file found", extra={"file": file})
image.tiff = url
else:
logger.info("raw file found", extra={"file": file, "extension": _raw})
image.raw = url
metadata.images[item] = image