diff --git a/scan_to_paperless/status.py b/scan_to_paperless/status.py index 07af6bc7..84dba084 100644 --- a/scan_to_paperless/status.py +++ b/scan_to_paperless/status.py @@ -146,7 +146,7 @@ def _update_status(self, name: str, force: bool = False) -> None: os.path.join(os.environ.get("SCAN_SOURCE_FOLDER", "/source"), name, "REMOVE_TO_CONTINUE") ): rerun = False - for image in config["steps"][-1]["images"]: + for image in config["steps"][-1]["sources"]: if not os.path.exists(image): rerun = True