delete server argument.

This commit is contained in:
kuzh 2024-02-25 18:44:48 +01:00
parent 5455ca0e95
commit d3ef4dd951
1 changed files with 3 additions and 3 deletions

View File

@ -1836,7 +1836,7 @@ def printer(string, quiet=False, debug=False, error=False, **kwargs):
# return str(out) # return str(out)
def shell(server=None): def shell():
"""Run the full speedtest.net test""" """Run the full speedtest.net test"""
global DEBUG global DEBUG
@ -2000,10 +2000,10 @@ def shell(server=None):
utilities.convert_and_save_to_xlsx(str(results), "tmp/f24-ch1.xlsx") utilities.convert_and_save_to_xlsx(str(results), "tmp/f24-ch1.xlsx")
def main(iteration=1, server=[8018]): def main(iteration=1):
for i in range(iteration): for i in range(iteration):
try: try:
shell(server) shell()
except KeyboardInterrupt: except KeyboardInterrupt:
printer('\nCancelling...', error=True) printer('\nCancelling...', error=True)
except (SpeedtestException, SystemExit): except (SpeedtestException, SystemExit):