Fix error handling in exiftool.py output
This commit is contained in:
@@ -20,7 +20,7 @@ def analyze_exiftool(input_img: Path, output_dir: Path) -> None:
|
|||||||
|
|
||||||
if data.stderr:
|
if data.stderr:
|
||||||
update_data(
|
update_data(
|
||||||
output_dir, {"strings": {"status": "error", "error": data.stderr}}
|
output_dir, {"exiftool": {"status": "error", "error": data.stderr}}
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user