Warn when the ingest folder has no library to match
Without CWA_URL and CALIBRE_DB_PATH, each update goes to CWA as a new book.
This commit is contained in:
@@ -89,3 +89,8 @@ def prepare() -> None:
|
||||
if not PERSONAL_INI.exists():
|
||||
shutil.copy(DEFAULT_PERSONAL_INI, PERSONAL_INI)
|
||||
logger.info(f"Created the default FanFicFare configuration at {PERSONAL_INI}")
|
||||
if INGEST_DIR and not (CWA_URL or CALIBRE_DB_PATH):
|
||||
logger.warning(
|
||||
"INGEST_DIR is set, but CWA_URL and CALIBRE_DB_PATH are not. Bindery cannot find the library book "
|
||||
"of a story, so each update adds a new book to CWA."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user