Bendover for PyLint

This commit is contained in:
Michał Gdula 2023-03-20 17:19:42 +00:00
parent e784ca3011
commit b426a6f6c4
8 changed files with 65 additions and 48 deletions

View file

@ -65,7 +65,7 @@ class Metadata:
'Software': {},
'File': {},
}
# Thanks chatGPT xP
for key, value in encoded_exif.items():
for mapping_name, mapping_val in EXIF_MAPPING:

View file

@ -279,7 +279,7 @@ def lens_specification(value):
"""
try:
return str(value[0] / value[1]) + 'mm - ' + str(value[2] / value[3]) + 'mm'
except Exception as err:
except Exception:
return None