Skip to content

Commit

Permalink
Fix incorrect API url to share pic
Browse files Browse the repository at this point in the history
  • Loading branch information
takura authored May 11, 2020
1 parent 0f19dd7 commit a50ccbf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions weibo.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ def _http_call(the_url, method, authorization, **kw):
params = None
boundary = None
if method == _HTTP_UPLOAD:
# fix sina upload url:
the_url = the_url.replace('https://api.', 'https://upload.api.')
params, boundary = _encode_multipart(**kw)
else:
params = _encode_params(**kw)
Expand Down

0 comments on commit a50ccbf

Please sign in to comment.