Fix image detection after print-to-logging migration #22

Merged
llabeyrie merged 1 commits from fix/app-image-detection into main 2026-03-19 19:15:45 +00:00

1 Commits

Author SHA1 Message Date
e03daea1f3 Fix image detection after print-to-logging migration
app.py relied on parsing stdout for the save path printed by the
pipeline. After PR #21 replaced that print with logger.info(), the
stdout parsing returned None, causing "Aucune image générée détectée".

Now check the known save path directly (APP_DIR / save_path) and
only fall back to stdout parsing if the file isn't found.
2026-03-19 20:14:17 +01:00