Merge pull request #87 from davisonio/mpg-mpeg-ext
Add .mpg and .mpeg to valid video file extensions
This commit is contained in:
commit
387456e4c2
|
@ -32,7 +32,7 @@ class Video(Media):
|
||||||
__name__ = 'Video'
|
__name__ = 'Video'
|
||||||
|
|
||||||
#: Valid extensions for video files.
|
#: Valid extensions for video files.
|
||||||
extensions = ('avi', 'm4v', 'mov', 'mp4', '3gp')
|
extensions = ('avi', 'm4v', 'mov', 'mp4', 'mpg', 'mpeg', '3gp')
|
||||||
|
|
||||||
def __init__(self, source=None):
|
def __init__(self, source=None):
|
||||||
super(Video, self).__init__(source)
|
super(Video, self).__init__(source)
|
||||||
|
|
Loading…
Reference in New Issue