Permalink
Browse files

Fixed bug with error reporting in the api.

  • Loading branch information...
pykler committed Oct 13, 2009
1 parent d61a603 commit 98d522c8c852f0a2f3a960aed3c88f397dacff5d
Showing with 1 addition and 1 deletion.
  1. +1 −1 twitter/api.py
View
@@ -97,7 +97,7 @@ def __call__(self, **kwargs):
else:
raise TwitterError(
"Twitter sent status %i for URL: %s.%s using parameters: (%s)\ndetails: %s" %(
- e.code, uri, self.format, encoded_kwargs, e.fp.read()))
+ e.code, uri, self.format, self.encoded_args, e.fp.read()))
class Twitter(TwitterCall):
"""

0 comments on commit 98d522c

Please sign in to comment.