diff options
author | 2019-10-14 08:40:29 +0100 | |
---|---|---|
committer | 2019-10-14 08:40:29 +0100 | |
commit | a3b10c15eae968ffdc5959eb7529ed0aaab17d1a (patch) | |
tree | 96e704a704a4b6ec5a388361135ff80449eced04 | |
parent | Remove str() within f-string (diff) |
Remove str() in f-string
Co-Authored-By: Kieran Siek <[email protected]>
-rw-r--r-- | bot/seasons/evergreen/issues.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/issues.py b/bot/seasons/evergreen/issues.py index 4c7966ff..b32b8548 100644 --- a/bot/seasons/evergreen/issues.py +++ b/bot/seasons/evergreen/issues.py @@ -30,7 +30,7 @@ class Issues(commands.Cog): user: str = "python-discord") -> None: """Command to get issues/pull request from GitHub.""" url = f"https://api.github.com/repos/{user}/{repository}/issues/{number}" - mergeURL = f"https://api.github.com/repos/{user}/{repository}/pulls/{str(number)}/merge" + mergeURL = f"https://api.github.com/repos/{user}/{repository}/pulls/{number}/merge" async with self.bot.http_session.get(url) as r: json_data = await r.json() |