fixed typo
This commit is contained in:
parent
d6ac7c18f4
commit
1d8f2a8851
1 changed files with 1 additions and 1 deletions
|
|
@ -349,7 +349,7 @@ class Twython(object):
|
||||||
kwargs['page'] += 1
|
kwargs['page'] += 1
|
||||||
kwargs['page'] = str(kwargs['page'])
|
kwargs['page'] = str(kwargs['page'])
|
||||||
except TypeError:
|
except TypeError:
|
||||||
raise TwythonError("searchGen() exited because page takes int")
|
raise TwythonError("searchGen() exited because page takes str")
|
||||||
except e:
|
except e:
|
||||||
raise TwythonError("searchGen() failed with %s error code" %\
|
raise TwythonError("searchGen() failed with %s error code" %\
|
||||||
`e.code`, e.code)
|
`e.code`, e.code)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue