Update twython/twython.py
Fixes TypeError: %d format: a number is required, not str
This commit is contained in:
parent
909f1919b1
commit
9b809621fb
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,7 @@ class Twython(object):
|
|||
return self._media_update(url,
|
||||
{'image': (file_, open(file_, 'rb'))})
|
||||
|
||||
def updateStatusWithMedia(self, file_, version='1.1', **params):
|
||||
def updateStatusWithMedia(self, file_, version=1.1, **params):
|
||||
"""Updates the users status with media
|
||||
|
||||
:param file_: (required) A string to the location of the file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue