Skip to content

Commit

Permalink
Fix commit typo
Browse files Browse the repository at this point in the history
  • Loading branch information
netpro2k committed Jun 8, 2021
1 parent de26dbb commit 9596b0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/io_scene_gltf2/blender/exp/gltf2_blender_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def __encode_from_image(self, image: bpy.types.Image) -> bytes:
with open(src_path, 'rb') as f:
data = f.read()
# Check magic number is right
if data and self.check_magic(data):
if data and self.__check_magic(data):
return data

# Copy to a temp image and save.
Expand Down
2 changes: 1 addition & 1 deletion addons/io_scene_gltf2/io/exp/gltf2_io_image_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def name(self):

@property
def file_extension(self):
return ImageData.extension_for_mime.get(self.mime_type)
return ImageData.extension_for_mime.get(self._mime_type)

@property
def byte_length(self):
Expand Down

0 comments on commit 9596b0c

Please sign in to comment.