mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-17 00:24:26 -04:00
fix: Change path to use ARCHIVE_DIR_NAME
This commit is contained in:
parent
9815241b78
commit
263eb4e372
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def parse_json_main_index(out_dir: str=OUTPUT_DIR) -> Iterator[Link]:
|
||||||
try:
|
try:
|
||||||
yield Link.from_json(link_json)
|
yield Link.from_json(link_json)
|
||||||
except KeyError:
|
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))
|
yield parse_json_link_details(str(detail_index_path))
|
||||||
|
|
||||||
return ()
|
return ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue