Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit 99e0cff

Browse files
authored
Merge pull request #372 from bmw1821/patch-1
Added support for Quicktime (.mov) media uploads.
2 parents e97d4e0 + d2e79ea commit 99e0cff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

twitter/twitter_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ def parse_media_file(passed_media):
200200
'image/gif',
201201
'image/bmp',
202202
'image/webp']
203-
video_formats = ['video/mp4']
203+
video_formats = ['video/mp4',
204+
'video/quicktime']
204205

205206
# If passed_media is a string, check if it points to a URL, otherwise,
206207
# it should point to local file. Create a reference to a file obj for

0 commit comments

Comments
 (0)