fixed duplicate line
This commit is contained in:
parent
1ef2c6e9f8
commit
557700d2da
1 changed files with 2 additions and 3 deletions
1
main.py
1
main.py
|
@ -81,7 +81,6 @@ def main():
|
||||||
speedtest = subprocess.run(
|
speedtest = subprocess.run(
|
||||||
["speedtest", "--accept-license", "--accept-gdpr", "-f", "json"], capture_output=True)
|
["speedtest", "--accept-license", "--accept-gdpr", "-f", "json"], capture_output=True)
|
||||||
|
|
||||||
if speedtest.returncode == 0: # Speedtest was successful.
|
|
||||||
if speedtest.returncode == 0: # Speedtest was successful.
|
if speedtest.returncode == 0: # Speedtest was successful.
|
||||||
data = format_for_influx(speedtest.stdout)
|
data = format_for_influx(speedtest.stdout)
|
||||||
print("Speedtest Successful:")
|
print("Speedtest Successful:")
|
||||||
|
|
Loading…
Reference in a new issue