diff --git a/error.py b/error.py index 95231e6..8559d91 100644 --- a/error.py +++ b/error.py @@ -59,7 +59,7 @@ class PullRequestError(Exception): """ pull request to Gitee did not succeed. """ def __init__(self, reason): - super.__init__() + super(PullRequestError, self).__init__() self.reason = reason def __str__(self):