Merge pull request #87 from davisonio/mpg-mpeg-ext

Add .mpg and .mpeg to valid video file extensions
This commit is contained in:
Jaisen Mathai 2016-02-14 15:26:34 -08:00
commit 387456e4c2
1 changed files with 1 additions and 1 deletions

View File

@ -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)