diff --git a/utils/github_api.py b/utils/github_api.py index da49def..da10f8a 100644 --- a/utils/github_api.py +++ b/utils/github_api.py @@ -2,8 +2,11 @@ async def get_last_update(): - async with aiohttp.ClientSession() as session, session.get( - "https://api.github.com/repos/Zalk0/chouettebot-discord/commits/main" - ) as response: + async with ( + aiohttp.ClientSession() as session, + session.get( + "https://api.github.com/repos/Zalk0/chouettebot-discord/commits/main" + ) as response, + ): commit_infos = await response.json() return commit_infos["commit"]["author"]["date"][:10]