Update twython/twython.py

Fixes TypeError: %d format: a number is required, not str
This commit is contained in:
Nidal Al Hariri 2012-11-11 02:20:40 +04:00
parent 909f1919b1
commit 9b809621fb

View file

@ -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