From 77f9eabe5c11330eaee664e43ca26f0fa6f9aae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E7=95=85?= <631866165@qq.com> Date: Thu, 13 Aug 2020 18:05:51 +0800 Subject: [PATCH] fix(error): fix PullRequestError --- error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):