Skip to content

Commit fd6a80e

Browse files
committed
Make sure webm/mp4 mime types are always available (they seem to be missing on some OS/distros)
1 parent 9b390c5 commit fd6a80e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shotgun_api3/shotgun.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
import logging
3838
import mimetools # used for attachment upload
3939
import mimetypes # used for attachment upload
40+
mimetypes.add_type('video/webm','.webm') # webm and mp4 seem to be missing
41+
mimetypes.add_type('video/mp4', '.mp4') # from some OS/distros
4042
import os
4143
import re
4244
import copy

0 commit comments

Comments
 (0)