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/