mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -04:00
cleanup ARCHIVE_DIR paths
This commit is contained in:
parent
46ea65d4f2
commit
c90f4bfd5b
3 changed files with 8 additions and 5 deletions
|
@ -27,6 +27,7 @@ from config import (
|
|||
CHROME_USER_DATA_DIR,
|
||||
TIMEOUT,
|
||||
ANSI,
|
||||
ARCHIVE_DIR,
|
||||
)
|
||||
from util import (
|
||||
check_dependencies,
|
||||
|
@ -50,7 +51,7 @@ def archive_links(archive_path, links, source=None, resume=None):
|
|||
|
||||
try:
|
||||
for idx, link in enumerate(to_archive):
|
||||
link_dir = os.path.join(archive_path, 'archive', link['timestamp'])
|
||||
link_dir = os.path.join(ARCHIVE_DIR, link['timestamp'])
|
||||
archive_link(link_dir, link)
|
||||
|
||||
except (KeyboardInterrupt, SystemExit, Exception) as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue