In new-photo-post.py, continue instead of pass when opening an image fails

This commit is contained in:
Eryn Wells 2023-11-20 11:54:41 -08:00
parent bcae9f135c
commit a4a0561bc8

View file

@ -37,7 +37,7 @@ def main(argv):
try:
image = Image.open(photo)
except IOError:
pass
continue
raw_exif = image._getexif()
friendly_exif = {TAGS[k]: v for k, v in raw_exif.items() if k in TAGS}