diff --git a/daily_speedtest/daily_speedtest.py b/daily_speedtest/daily_speedtest.py index 3d0de2a..46de535 100644 --- a/daily_speedtest/daily_speedtest.py +++ b/daily_speedtest/daily_speedtest.py @@ -60,5 +60,5 @@ def run_speedtest(): if last_test_dates[testing_hour] != datetime.now().today(): if testing_hour == datetime.now().today().hour: run_speedtest() - last_test_dates[testing_hour] = int(datetime.now().today().hour) + last_test_dates[testing_hour] = datetime.now().today() time.sleep(60)