Commit cf579f04 authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Merge pull request #217 from inactivist/2396a552

Fix for issue #193
parents d2cc2014 2396a552
...@@ -8,6 +8,7 @@ class TweepError(Exception): ...@@ -8,6 +8,7 @@ class TweepError(Exception):
def __init__(self, reason, response=None): def __init__(self, reason, response=None):
self.reason = unicode(reason) self.reason = unicode(reason)
self.response = response self.response = response
Exception.__init__(self, reason)
def __str__(self): def __str__(self):
return self.reason return self.reason
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment