Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsumoto-ren committed Jun 5, 2024
1 parent cbedb1c commit 9459943
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions japanese/helpers/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class Profile(ProfileBase):
overwrite_destination: bool

def __init_subclass__(cls, **kwargs) -> None:
# mode is one of ("furigana", "pitch", "audio")
mode = kwargs.pop("mode") # suppresses ide warning
super().__init_subclass__(**kwargs)
cls._subclasses_map[mode] = cls
Expand Down

0 comments on commit 9459943

Please sign in to comment.