mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-23 22:53:00 +02:00
dont print when no links added
This commit is contained in:
14
archive
14
archive
@@ -62,13 +62,13 @@ def merge_links(archive_path=HTML_FOLDER, import_path=None):
|
||||
archive_path,
|
||||
**ANSI,
|
||||
))
|
||||
else:
|
||||
print('[*] [{}] No new links added to {}/index.json{}'.format(
|
||||
datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
|
||||
archive_path,
|
||||
' from {}'.format(import_path) if import_path else '',
|
||||
**ANSI,
|
||||
))
|
||||
# else:
|
||||
# print('[*] [{}] No new links added to {}/index.json{}'.format(
|
||||
# datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
|
||||
# archive_path,
|
||||
# ' from {}'.format(import_path) if import_path else '',
|
||||
# **ANSI,
|
||||
# ))
|
||||
|
||||
return all_links
|
||||
|
||||
|
Reference in New Issue
Block a user