add string interpolation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Roy Olav Purser 2024-05-25 19:57:26 +02:00
parent 346945c638
commit 47340dfdb4
Signed by: roypur
GPG Key ID: 063DAA01D56E28CB

2
bot.py
View File

@ -53,7 +53,7 @@ class CustomClient(discord.Client):
timeout=aiohttp.ClientTimeout(total=5)
) as session:
resp = await session.head(
"https://stream.purser.it/{stripped}/?provider=seafile&raw=true",
f"https://stream.purser.it/{stripped}/?provider=seafile&raw=true",
allow_redirects=True,
)
raw = str(