gh-92 Add support for RW2 (RAW) files

This commit is contained in:
Jaisen Mathai 2016-03-23 09:41:22 -07:00
parent a66fc7ca41
commit 4c269b538a
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class Photo(Media):
__name__ = 'Photo' __name__ = 'Photo'
#: Valid extensions for photo files. #: Valid extensions for photo files.
extensions = ('nef', 'dng', 'gif', 'jpg', 'jpeg') extensions = ('dng', 'gif', 'jpeg', 'jpg', 'nef', 'rw2')
def __init__(self, source=None): def __init__(self, source=None):
super(Photo, self).__init__(source) super(Photo, self).__init__(source)