mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-20 05:11:40 +02:00
fix import_path None error
This commit is contained in:
@@ -73,6 +73,7 @@ def merge_links(archive_path=OUTPUT_DIR, import_path=None, only_new=False):
|
|||||||
num_new_links = len(all_links) - len(existing_links)
|
num_new_links = len(all_links) - len(existing_links)
|
||||||
if SHOW_PROGRESS:
|
if SHOW_PROGRESS:
|
||||||
print()
|
print()
|
||||||
|
if import_path:
|
||||||
print(' > Adding {} new links to index from {} (parsed as {} format)'.format(
|
print(' > Adding {} new links to index from {} (parsed as {} format)'.format(
|
||||||
num_new_links,
|
num_new_links,
|
||||||
pretty_path(import_path),
|
pretty_path(import_path),
|
||||||
|
Reference in New Issue
Block a user