From 5428fc4bba7d9463d0b054f4d5309266c9508a02 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 30 Oct 2017 04:29:06 -0500 Subject: [PATCH 1/2] image alignment --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 345b8b19..87e94038 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Outputs browsable static html archives of each site, a PDF, a screenshot, and a **Supports: Browser Bookmarks (Chrome, Firefox, Safari, IE, Opera), Pocket, Pinboard, Reddit, Wallabag, Shaarli, Delicious, Instapaper, Unmark.it, RSS, and more!** -Desktop ScreenshotMobile Screenshot +Desktop ScreenshotMobile Screenshot
## Quickstart From bf792a190d81fbc6962b7d19cd93a2764124a739 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 30 Oct 2017 04:31:23 -0500 Subject: [PATCH 2/2] round duration number --- archive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archive.py b/archive.py index 2a3faf54..89a0935c 100755 --- a/archive.py +++ b/archive.py @@ -44,8 +44,8 @@ def update_archive(export_path, links, resume=None, append=True): # print timing information & summary end_ts = datetime.now().timestamp() - seconds = round(end_ts - start_ts, 1) - duration = '{} min'.format(seconds / 60) if seconds > 60 else '{} sec'.format(seconds) + seconds = round(end_ts - start_ts, 2) + duration = '{} min'.format(round(seconds / 60, 2)) if seconds > 60 else '{} sec'.format(seconds) print('{}[√] [{}] Archive update complete ({}){}'.format( ANSI['green'], datetime.now().strftime('%Y-%m-%d %H:%M:%S'),