Add .mpg and .mpeg to valid video file extensions

This commit is contained in:
Craig Davison 2016-02-14 17:41:13 +00:00
parent e35e0ce471
commit 1b1725fd8b
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)