Submitted to PyLint

This commit is contained in:
Michał Gdula 2023-03-04 21:08:42 +00:00
parent 7ed3b455dd
commit de2d72e5de
7 changed files with 591 additions and 710 deletions

View file

@ -40,8 +40,8 @@ def image(image_id):
if img is None:
abort(404)
exif = mt.metadata.yoink(
os.path.join(current_app.config['UPLOAD_FOLDER'], img.file_name))
img_path = os.path.join(current_app.config['UPLOAD_FOLDER'], img.file_name)
exif = mt.Metadata(img_path).yoink()
return render_template('image.html', image=img, exif=exif)