Skip to content

Commit 12ae51a

Browse files
committed
Fix typo
1 parent df46321 commit 12ae51a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code_submitter/auth.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ def __init__(
107107

108108
async def load_user(self, username: str, password: str) -> NemesisUserInfo:
109109
async with self.client as client:
110-
respone = await client.get(
110+
response = await client.get(
111111
'user/{}'.format(username),
112112
auth=(username, password),
113113
)
114114

115115
try:
116-
respone.raise_for_status()
116+
response.raise_for_status()
117117
except httpx.HTTPError as e:
118118
if e.response.status_code != 403:
119119
logger.exception(
@@ -122,7 +122,7 @@ async def load_user(self, username: str, password: str) -> NemesisUserInfo:
122122
)
123123
raise AuthenticationError(e) from e
124124

125-
return cast(NemesisUserInfo, respone.json())
125+
return cast(NemesisUserInfo, response.json())
126126

127127
def strip_team(self, team: str) -> str:
128128
# All teams from nemesis *should* start with this prefix...

0 commit comments

Comments
 (0)