mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +01:00
im going to commit
This commit is contained in:
parent
d444f7b303
commit
947f57d334
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ class OtherCog(commands.Cog):
|
||||||
else:
|
else:
|
||||||
hostname = url.path
|
hostname = url.path
|
||||||
path = ""
|
path = ""
|
||||||
url = url._replace(scheme="http", hostname=hostname, path=path)
|
url = url._replace(scheme="http", netloc=hostname, path=path)
|
||||||
|
|
||||||
friendly_url = textwrap.shorten(url.geturl(), 100)
|
friendly_url = textwrap.shorten(url.geturl(), 100)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue