Sandra 5 years ago
commit 5ff08005e3

@ -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