fix resume cmd showing None in cli

This commit is contained in:
Nick Sweeting 2018-04-17 21:14:55 -04:00
parent eef1e5e597
commit 595b632765

View file

@ -60,9 +60,8 @@ def archive_links(archive_path, links, source=None, resume=None):
total=len(links), total=len(links),
)) ))
print(' Continue where you left off by running:') print(' Continue where you left off by running:')
print(' {} {} {}'.format( print(' {} {}'.format(
sys.argv[0], sys.argv[0],
source,
link['timestamp'], link['timestamp'],
)) ))
if not isinstance(e, KeyboardInterrupt): if not isinstance(e, KeyboardInterrupt):