Skip to content

Commit

Permalink
Update generic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenYFan authored Jan 5, 2025
1 parent 52d4a66 commit 7ce6289
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions manga_translator/utils/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
# Adapted from argparse.Namespace
class Context(dict):
def __init__(self, **kwargs):
super().__init__(**kwargs)
for name in kwargs:
setattr(self, name, kwargs[name])

Expand Down Expand Up @@ -75,7 +74,6 @@ def _get_kwargs(self):
def _get_args(self):
return []


# TODO: Add TranslationContext for type linting

def atoi(text: str) -> int | str:
Expand Down

0 comments on commit 7ce6289

Please sign in to comment.