From: Harmon Date: Sat, 4 May 2019 04:58:08 +0000 (-0500) Subject: Fix super usage in TweepError initialization X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=59627d96975b2735fabd0d44e34e018ca97dec2b;p=tweepy.git Fix super usage in TweepError initialization --- diff --git a/tweepy/error.py b/tweepy/error.py index 165d049..95b3ee7 100644 --- a/tweepy/error.py +++ b/tweepy/error.py @@ -13,7 +13,7 @@ class TweepError(Exception): self.reason = six.text_type(reason) self.response = response self.api_code = api_code - super(TweepError, self).__init__(self, reason) + super(TweepError, self).__init__(reason) def __str__(self): return self.reason