Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ianare committed May 2, 2023
1 parent 67a35a0 commit 163feb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exifread/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def _process_field2(self, ifd_name, tag_name, count, offset):
values = ''
return values

def _process_field7(self, ifd_name, tag_name, count, offset):
def _process_field7(self, count, offset):
# undefined types e.g. MakerNote/UserComment
values = []
for _ in range(count):
Expand Down Expand Up @@ -251,7 +251,7 @@ def _process_tag(self, ifd, ifd_name: str, tag_entry, entry, tag: int, tag_name,
if field_type == 2: # ascii strings
values = self._process_field2(ifd_name, tag_name, count, offset)
elif field_type == 7: # undefined
values = self._process_field7(ifd_name, tag_name, count, offset)
values = self._process_field7(count, offset)
else: # numbers
values = self._process_field(tag_name, count, field_type, type_length, offset)
# now 'values' is either a string or an array
Expand Down

0 comments on commit 163feb4

Please sign in to comment.