Skip to content

Commit

Permalink
Use snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 13, 2022
1 parent c2a4265 commit 5301b86
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/PIL/Image.py
Expand Up @@ -1476,18 +1476,18 @@ def get_child_images(self):
offset = current_offset

fp = self.fp
thumbnailOffset = ifd.get(513)
if thumbnailOffset is not None:
thumbnail_offset = ifd.get(513)
if thumbnail_offset is not None:
try:
thumbnailOffset += self._exif_offset
thumbnail_offset += self._exif_offset
except AttributeError:
pass
self.fp.seek(thumbnailOffset)
self.fp.seek(thumbnail_offset)
data = self.fp.read(ifd.get(514))
fp = io.BytesIO(data)

with open(fp) as im:
if thumbnailOffset is None:
if thumbnail_offset is None:
im._frame_pos = [ifd_offset]
im._seek(0)
im.load()
Expand Down

0 comments on commit 5301b86

Please sign in to comment.