Skip to content

Commit

Permalink
Update daily_speedtest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
phate999 authored Apr 17, 2024
1 parent 2ecfcbe commit 770aa7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daily_speedtest/daily_speedtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def run_speedtest():
cp.log(f'Daily speedtest hours: {testing_hours} -- Running now...')
wan = cp.get('status/wan/primary_device')
wan_ip = cp.get(f'status/wan/devices/{wan}/status/ipinfo/ip_address')
speedtest = Speedtest()
speedtest = Speedtest(source_address=wan_ip)
speedtest.get_best_server()
speedtest.download()
speedtest.upload(pre_allocate=False)
Expand Down

0 comments on commit 770aa7b

Please sign in to comment.