Commit c3dc358b authored by Aaron Hill's avatar Aaron Hill Committed by GitHub
Browse files

Merge pull request #717 from elad661/patch-1

Fix file size limit for media_upload
parents 18b948fa 355b496d
...@@ -198,7 +198,7 @@ class API(object): ...@@ -198,7 +198,7 @@ class API(object):
:allowed_param: :allowed_param:
""" """
f = kwargs.pop('file', None) f = kwargs.pop('file', None)
headers, post_data = API._pack_image(filename, 3072, form_field='media', f=f) headers, post_data = API._pack_image(filename, 4883, form_field='media', f=f)
kwargs.update({'headers': headers, 'post_data': post_data}) kwargs.update({'headers': headers, 'post_data': post_data})
return bind_api( return bind_api(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment