From 683a08772bd59fed85de5a0d8a001b0a5cd6cc50 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 8 Feb 2021 23:27:46 -0500 Subject: [PATCH] change wording of db not found error --- archivebox/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/config.py b/archivebox/config.py index 349817ec..3d48344f 100644 --- a/archivebox/config.py +++ b/archivebox/config.py @@ -1079,6 +1079,6 @@ def setup_django(out_dir: Path=None, check_db=False, config: ConfigDict=CONFIG, if check_db: sql_index_path = Path(output_dir) / SQL_INDEX_FILENAME assert sql_index_path.exists(), ( - f'No database file {SQL_INDEX_FILENAME} found in OUTPUT_DIR: {config["OUTPUT_DIR"]}') + f'No database file {SQL_INDEX_FILENAME} found in: {config["OUTPUT_DIR"]} (Are you in an ArchiveBox collection directory?)') except KeyboardInterrupt: raise SystemExit(2)