Skip to content

Commit a3d35ac

Browse files
committed
Trim trailing / from GitHub Repo
1 parent 00bc8ad commit a3d35ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)