Skip to content

Commit 31a003b

Browse files
committed
Trim trailing / from GitHub Repo
1 parent f392398 commit 31a003b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydis_core/exts/source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class SourceCode(commands.Cog, description="Displays information about the bot's
5656

5757
def __init__(self, bot: "Bot", github_repo: str) -> None:
5858
self.bot = bot
59-
self.github_repo = github_repo
59+
self.github_repo = github_repo.rstrip("/")
6060

6161
@commands.command(name="source", aliases=("src",))
6262
async def source_command(

0 commit comments

Comments
 (0)