1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-19 23:45:09 +00:00
This commit is contained in:
VarMonke 2022-03-27 11:38:36 +05:30
parent b8752e46b0
commit fa79b7ef9d
2 changed files with 2 additions and 10 deletions

View file

@ -47,5 +47,4 @@ async def get_user(session: aiohttp.ClientSession, username: str) -> GitHubUserD
result = await session.get(USERS_URL.format(username))
if result.status == 200:
return await result.json()
raise UserNotFound
raise UserNotFound