Skip to content

Commit 8740e5c

Browse files
committed
fix typo: Resopnse -> Response
1 parent db7db98 commit 8740e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hit/ids/login.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def idslogin(username: str, password: str, **kwargs) -> Session:
7777
def _check_resp_hook_default_impl(r, *args, **kwargs):
7878
"""
7979
Response hook for checking the error msg returned by ids
80-
another way: override Requests.Resopnse.ok()
80+
another way: override Requests.Response.ok()
8181
"""
8282
soup = BeautifulSoup(r.text, 'html.parser')
8383
found_err_msg = soup.find('div', {'id': 'msg', 'class': 'errors'})

0 commit comments

Comments
 (0)