mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 11:36:16 +00:00
Linty
This commit is contained in:
parent
359ab66a0a
commit
5cb8c1dd13
3 changed files with 18 additions and 18 deletions
|
@ -68,17 +68,17 @@ class Metadata:
|
|||
}
|
||||
|
||||
# Thanks chatGPT xP
|
||||
# the helper function works, so not sure why it triggers pylint
|
||||
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:
|
||||
# the helper function works, so not sure why it triggers pylint
|
||||
exif[mapping_name][mapping_val[key][0]] = {
|
||||
"raw": value,
|
||||
"formatted": (
|
||||
getattr(
|
||||
helpers, mapping_val[key][1]
|
||||
)( # pylint: disable=E0602
|
||||
helpers, mapping_val[key][1] # pylint: disable=E0602
|
||||
)(
|
||||
value
|
||||
)
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue