From 5fc071cadeaa586eccdc57067bce2c7f6477dfb8 Mon Sep 17 00:00:00 2001 From: iwumingz Date: Sun, 10 Apr 2022 15:45:35 +0800 Subject: [PATCH] Fix typo of speedtest path --- tools/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/constants.py b/tools/constants.py index 250ef85..c1543ec 100644 --- a/tools/constants.py +++ b/tools/constants.py @@ -28,8 +28,8 @@ HTTP_HEADERS: Dict[str, str] = { # ------------- speedtest -------------- SPEEDTEST_PATH_FILE: str = './data/speedtest' -SPEEDTEST_INSTALL_URL: str = "https://install.speedtest.net/app/cli/ookla-speedtest-1.1.1-linux-$(uname -m).tgz" -INSTALL_SPEEDTEST: str = f"""wget - qO - "{SPEEDTEST_INSTALL_URL}" | tar zx - C ./data speedtest""" +SPEEDTEST_URL: str = "https://install.speedtest.net/app/cli/ookla-speedtest-1.1.1-linux-$(uname -m).tgz" +INSTALL_SPEEDTEST: str = f"""wget -qO- "{SPEEDTEST_URL}" | tar zx -C ./data speedtest""" SPEEDTEST_RUN: str = f'{SPEEDTEST_PATH_FILE} --accept-license --accept-gdpr -f json' # ------------- sticker --------------