fix(speedtest): hopefully fixed an error
This commit is contained in:
parent
7806aa29c5
commit
b210fa8bb0
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Speedtest(commands.Cog):
|
|||
async def run_speedtest(self) -> str | Any:
|
||||
try:
|
||||
process = await asyncio.create_subprocess_exec(
|
||||
"speedtest", "-f json", "--accept-license",
|
||||
program=["speedtest", "-f", "json", "--accept-license"],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue