Add .mpg and .mpeg to valid video file extensions
This commit is contained in:
parent
e35e0ce471
commit
1b1725fd8b
|
@ -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