dont print when no links added
This commit is contained in:
parent
595b632765
commit
31476fe21b
1 changed files with 7 additions and 7 deletions
14
archive
14
archive
|
@ -62,13 +62,13 @@ def merge_links(archive_path=HTML_FOLDER, import_path=None):
|
||||||
archive_path,
|
archive_path,
|
||||||
**ANSI,
|
**ANSI,
|
||||||
))
|
))
|
||||||
else:
|
# else:
|
||||||
print('[*] [{}] No new links added to {}/index.json{}'.format(
|
# print('[*] [{}] No new links added to {}/index.json{}'.format(
|
||||||
datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
|
# datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
|
||||||
archive_path,
|
# archive_path,
|
||||||
' from {}'.format(import_path) if import_path else '',
|
# ' from {}'.format(import_path) if import_path else '',
|
||||||
**ANSI,
|
# **ANSI,
|
||||||
))
|
# ))
|
||||||
|
|
||||||
return all_links
|
return all_links
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue