gh-92 Add support for RW2 (RAW) files
This commit is contained in:
parent
a66fc7ca41
commit
4c269b538a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue