mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 11:36:16 +00:00
Missed PyLint errors
This commit is contained in:
parent
7b97b8e0ef
commit
94ea3a1f30
4 changed files with 6 additions and 6 deletions
|
@ -67,13 +67,14 @@ class Metadata:
|
|||
}
|
||||
|
||||
# Thanks chatGPT xP
|
||||
# pylint: disable=E0602
|
||||
for key, value in encoded_exif.items():
|
||||
for mapping_name, mapping_val in EXIF_MAPPING:
|
||||
if key in mapping_val:
|
||||
if len(mapping_val[key]) == 2:
|
||||
exif[mapping_name][mapping_val[key][0]] = {
|
||||
'raw': value,
|
||||
'formatted': getattr(helpers, mapping_val[key][1])(value), # pylint: disable=E0602
|
||||
'formatted': getattr(helpers, mapping_val[key][1])(value),
|
||||
}
|
||||
else:
|
||||
exif[mapping_name][mapping_val[key][0]] = {
|
||||
|
|
|
@ -59,7 +59,7 @@ def exposure(value):
|
|||
"""
|
||||
Formats the exposure value into a standard format
|
||||
"""
|
||||
return str(value) + 'EV'
|
||||
return str(value) + 'EV'
|
||||
|
||||
|
||||
def color_space(value):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue