Fix upload_video "string argument detected, got 'bytes'" bug. #426

Merged
philgyford merged 1 commit from bugs/422 into master 2016-08-18 08:23:14 -07:00

1 commit

Author SHA1 Message Date
Phil Gyford
1b20f8f0f9 Fix upload_video "string argument detected, got 'bytes'" bug.
Needed to use BytesIO instead of StringIO when uploading video to Twitter.

Tested with python 2.6.9, 2.7.11, 3.3.6, 3.5.1.

fixes #422
2016-08-17 14:18:59 +01:00