-
-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Labels
in progressA fix is currently being worked on / is in testingA fix is currently being worked on / is in testing
Description
Describe the bug
Library refresh uses a hard coded path "/cwa-book-ingest" that causes a error if the ingest folder is changed in dirs.json. An easy fix would be grabbing that path from dirs.json.
Calibre-Web-Automated/root/app/calibre-web/cps/cwa_functions.py
Lines 83 to 88 in 4951b29
@library_refresh.route("/cwa-library-refresh", methods=["GET", "POST"]) | |
@login_required_if_no_ano | |
def cwa_library_refresh(): | |
flash(_("Library Refresh: Initialising Book Ingest System, please wait..."), category="cwa_refresh") | |
result = subprocess.run(['python3', '/app/calibre-web-automated/scripts/ingest_processor.py', '/cwa-book-ingest']) | |
return_code = result.returncode |
Metadata
Metadata
Assignees
Labels
in progressA fix is currently being worked on / is in testingA fix is currently being worked on / is in testing