From 16f1be7ffee0367e107e28c27df46b73020397f3 Mon Sep 17 00:00:00 2001 From: dgw Date: Sun, 29 Oct 2023 01:26:47 -0500 Subject: [PATCH] fixup DiceError, no need for __init__ if only wrapping super().__init__ --- sopel/modules/dice.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sopel/modules/dice.py b/sopel/modules/dice.py index 4288cd96f..8a6192a0e 100644 --- a/sopel/modules/dice.py +++ b/sopel/modules/dice.py @@ -119,8 +119,6 @@ def get_number_of_faces(self) -> int: class DiceError(Exception): """Custom base exception type.""" - def __init__(self, *args): - super().__init__(*args) class InvalidDiceFacesError(DiceError):