fixed typo

This commit is contained in:
kracekumar 2011-10-05 08:04:44 +05:30
parent d6ac7c18f4
commit 1d8f2a8851

View file

@ -349,7 +349,7 @@ class Twython(object):
kwargs['page'] += 1
kwargs['page'] = str(kwargs['page'])
except TypeError:
raise TwythonError("searchGen() exited because page takes int")
raise TwythonError("searchGen() exited because page takes str")
except e:
raise TwythonError("searchGen() failed with %s error code" %\
`e.code`, e.code)