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 16, 2024
1 parent 483e825 commit 6664343
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 @@ -34,7 +34,7 @@ def run_speedtest():
down = '{:.2f}'.format(speedtest.results.download / 1000 / 1000)
up = '{:.2f}'.format(speedtest.results.upload / 1000 / 1000)
latency = int(speedtest.results.ping)
results_text = f'{down}Mbps Down / {up}Mbps Up/ {latency}ms'
results_text = f'{down}Mbps Down / {up}Mbps Up / {latency}ms'
cp.log(results_text)
cp.put(results_field, results_text)
# Optional Alert
Expand Down

0 comments on commit 6664343

Please sign in to comment.