From 263eb4e372fc4a9cc38331521a3aa6a4f121b9fe Mon Sep 17 00:00:00 2001 From: Cristian Date: Wed, 22 Jul 2020 14:37:10 -0500 Subject: [PATCH] fix: Change path to use ARCHIVE_DIR_NAME --- archivebox/index/json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/index/json.py b/archivebox/index/json.py index 212c09c3..421e91b0 100644 --- a/archivebox/index/json.py +++ b/archivebox/index/json.py @@ -53,7 +53,7 @@ def parse_json_main_index(out_dir: str=OUTPUT_DIR) -> Iterator[Link]: try: yield Link.from_json(link_json) except KeyError: - detail_index_path = OUTPUT_DIR / Path(f"archive/{link_json['timestamp']}") + detail_index_path = Path(f"{OUTPUT_DIR}/{ARCHIVE_DIR_NAME}/{link_json['timestamp']}") yield parse_json_link_details(str(detail_index_path)) return ()