removed uncessary reference to printout_dict

master
Castro0o 5 years ago
parent 01fec0b462
commit 9ef1e86009

@ -94,7 +94,7 @@ def rewriteimgs(html):
# get its filename # get its filename
img_filename = images_info[img_page]['filename'] img_filename = images_info[img_page]['filename']
except KeyError: 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) print(Colors.GREEN, 'run python3 download_imgs.py to fix the issue', Colors.ENDC)
sys.exit() sys.exit()
# same dir as HTML files: archive/ # same dir as HTML files: archive/

Loading…
Cancel
Save