We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0cff36 commit ef12824Copy full SHA for ef12824
anime_api/apis/animechan/__init__.py
@@ -82,10 +82,3 @@ def __check_response_code(status_code: int, msg: str = ''):
82
raise exceptions.NotFound()
83
elif status_code != 200:
84
raise exceptions.ServerError(status_code=status_code, msg=msg)
85
-
86
- @staticmethod
87
- def __check_response_code(status_code: int, msg: str = ""):
88
- if status_code == 404:
89
- raise exceptions.NotFound(status_code, msg=msg)
90
- elif status_code != 200:
91
- raise exceptions.ServerError(status_code=status_code, msg=msg)
0 commit comments