Skip to content

Commit

Permalink
fixup DiceError, no need for __init__ if only wrapping super().__init__
Browse files Browse the repository at this point in the history
  • Loading branch information
dgw committed Oct 29, 2023
1 parent 315cc7a commit 16f1be7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sopel/modules/dice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 16f1be7

Please sign in to comment.