Fix typo of speedtest path

This commit is contained in:
iwumingz 2022-04-10 15:45:35 +08:00
parent 3ffb14475a
commit 5fc071cade

View File

@ -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 --------------