Skip to content

Commit

Permalink
[FIX] bug image extension
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudelva committed Aug 14, 2024
1 parent b05efd5 commit 37b11c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zip_product_image/models/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ def _product_image_data(self):
if self.image:
return (base64.b64encode(self.image.getvalue()), self.image.extension)
return (False, False)
return (self.image_1920 or False, '.jpg')
return (self.image_1920 or False, ".jpg")

0 comments on commit 37b11c8

Please sign in to comment.