From 9ef1e8600983331da29981cbf8475d776626a8f1 Mon Sep 17 00:00:00 2001 From: Castro0o Date: Tue, 14 Apr 2020 13:58:20 +0200 Subject: [PATCH] removed uncessary reference to printout_dict --- dumpwiki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpwiki.py b/dumpwiki.py index 1f883ed..e57ad49 100644 --- a/dumpwiki.py +++ b/dumpwiki.py @@ -94,7 +94,7 @@ def rewriteimgs(html): # get its filename img_filename = images_info[img_page]['filename'] except KeyError: - print(Colors.WARNING, f"{printout_dict['page']} is not is missing from the local downloaded images") + print(Colors.WARNING, f"{img_page} is not is missing from the local downloaded images") print(Colors.GREEN, 'run python3 download_imgs.py to fix the issue', Colors.ENDC) sys.exit() # same dir as HTML files: archive/