Skip to content

Commit

Permalink
Merge pull request subzeroid#1747 from tajbowness/patch-1
Browse files Browse the repository at this point in the history
Update album.py
  • Loading branch information
subzeroid authored Jan 19, 2024
2 parents 9f8c0d6 + e46c7b6 commit 7e00662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instagrapi/mixins/album.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def album_upload(
children = []
for path in paths:
path = Path(path)
if path.suffix.lower() in (".jpg", ".jpeg"):
if path.suffix.lower() in (".jpg", ".jpeg", ".webp"):
upload_id, width, height = self.photo_rupload(path, to_album=True)
children.append(
{
Expand Down

0 comments on commit 7e00662

Please sign in to comment.