diff options
| author | 2021-02-25 13:44:18 +0300 | |
|---|---|---|
| committer | 2021-02-25 13:44:18 +0300 | |
| commit | 283857f543ca50e188f39a9b880cef9963f486db (patch) | |
| tree | a8c6b2095ecded8f3abe90495297e8f302027296 | |
| parent | Cleans 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.py | 2 |
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 |