From b210fa8bb023db8737eaef57a95d8c0555ed45da Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Sat, 25 May 2024 17:37:35 -0400 Subject: [PATCH] fix(speedtest): hopefully fixed an error --- speedtest/speedtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speedtest/speedtest.py b/speedtest/speedtest.py index 3e427f3..901b9bd 100644 --- a/speedtest/speedtest.py +++ b/speedtest/speedtest.py @@ -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 )