From c03b657a313476734cb924f68f6c1c8c356d03df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 7 Jun 2023 12:34:05 +0200 Subject: [PATCH] Fix status path --- scan_to_paperless/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scan_to_paperless/status.py b/scan_to_paperless/status.py index 4df05da5..088103a7 100644 --- a/scan_to_paperless/status.py +++ b/scan_to_paperless/status.py @@ -18,7 +18,7 @@ def __init__(self, no_write: bool = False) -> None: """Construct.""" self.no_write = no_write - self._file = os.path.join(os.environ.get("SCAN_SOURCE_FOLDER", "status.html")) + self._file = os.path.join(os.environ.get("SCAN_SOURCE_FOLDER", "/source"), "status.html") self._status: Dict[str, _Folder] = {} self._global_status = "Starting..." self._start_time = datetime.datetime.utcnow().replace(microsecond=0)