fix(speedtest) whoops!

This commit is contained in:
Seaswimmer 2024-05-25 17:38:02 -04:00
parent b210fa8bb0
commit 30003cd7c8
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -38,7 +38,7 @@ class Speedtest(commands.Cog):
async def run_speedtest(self) -> str | Any:
try:
process = await asyncio.create_subprocess_exec(
program=["speedtest", "-f", "json", "--accept-license"],
"speedtest", "-f", "json", "--accept-license",
stdout=subprocess.PIPE,
stderr=subprocess.PIPE
)