From bc02146634aa0716495f1f8078cf2d572c27df38 Mon Sep 17 00:00:00 2001 From: Alex Terrell Date: Fri, 1 Nov 2024 10:38:34 -0600 Subject: [PATCH] Update iperf3.py --- iperf3/iperf3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iperf3/iperf3.py b/iperf3/iperf3.py index 8aa26c9..ad4b6f7 100644 --- a/iperf3/iperf3.py +++ b/iperf3/iperf3.py @@ -79,8 +79,8 @@ def main(path, value, *args): def download_iperf3(): try: - # Use the first argument as the URL if provided, otherwise use the default URL - url = sys.argv[1] if len(sys.argv) > 1 else "https://github.com/userdocs/iperf3-static/releases/download/3.17.1%2B/iperf3-arm64v8" + # iperf3 binary URL + url = "https://github.com/userdocs/iperf3-static/releases/download/3.17.1%2B/iperf3-arm64v8" # If file doesn't exist, download it filename = url.split("/")[-1]