aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils/checks.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2021-09-01 18:44:24 -0700
committerGravatar Xithrius <[email protected]>2021-09-01 18:44:24 -0700
commitaecc1e6f6f1df012add3ce394496b01e776bbfdf (patch)
tree174252cf5ee11ce043877c79507189a799d83a18 /bot/utils/checks.py
parentUnion item with None to Optional with item. (diff)
Removed None return annotation for any __init__
Diffstat (limited to 'bot/utils/checks.py')
-rw-r--r--bot/utils/checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/checks.py b/bot/utils/checks.py
index d5c06728..612d1ed6 100644
--- a/bot/utils/checks.py
+++ b/bot/utils/checks.py
@@ -22,7 +22,7 @@ log = logging.getLogger(__name__)
class InWhitelistCheckFailure(CheckFailure):
"""Raised when the `in_whitelist` check fails."""
- def __init__(self, redirect_channel: Optional[int]) -> None:
+ def __init__(self, redirect_channel: Optional[int]):
self.redirect_channel = redirect_channel
if redirect_channel: