aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-02-25 13:44:18 +0300
committerGravatar GitHub <[email protected]>2021-02-25 13:44:18 +0300
commit283857f543ca50e188f39a9b880cef9963f486db (patch)
treea8c6b2095ecded8f3abe90495297e8f302027296
parentCleans Up Startup Error Handler Code Style (diff)
Call Super __init__ in Startup Error
Co-authored-by: Matteo Bertucci <[email protected]>
-rw-r--r--bot/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/bot.py b/bot/bot.py
index 3218a60b4..1b4037076 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -23,7 +23,7 @@ class StartupError(Exception):
"""Exception class for startup errors."""
def __init__(self, base: Exception):
- super()
+ super().__init__()
self.exception = base