Skip to content

Commit

Permalink
added webp and svg to recognized photo types
Browse files Browse the repository at this point in the history
as they are supported by exiftool
  • Loading branch information
Cedric-Boucher committed Oct 13, 2023
1 parent 0b6a682 commit 6e946d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elodie/media/photo.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Photo(Media):
__name__ = 'Photo'

#: Valid extensions for photo files.
extensions = ('arw', 'cr2', 'dng', 'gif', 'heic', 'jpeg', 'jpg', 'nef', 'png', 'rw2')
extensions = ('arw', 'cr2', 'dng', 'gif', 'heic', 'jpeg', 'jpg', 'nef', 'png', 'rw2', 'webp', 'svg')

def __init__(self, source=None):
super(Photo, self).__init__(source)
Expand Down

0 comments on commit 6e946d6

Please sign in to comment.