From 75be4d6aa3f0fc5594ea2155106740db46042641 Mon Sep 17 00:00:00 2001 From: Hristo Date: Sun, 28 Jan 2024 04:21:47 +0200 Subject: [PATCH] add update.py that can update the repo and config.py based on new variables in config.py.example --- src/rpi-cpu2mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpi-cpu2mqtt.py b/src/rpi-cpu2mqtt.py index b34b66f..dc1218a 100644 --- a/src/rpi-cpu2mqtt.py +++ b/src/rpi-cpu2mqtt.py @@ -476,5 +476,5 @@ if __name__ == '__main__': # if not running as a service, break the loop after one iteration if not args.service: break - # if running as a service, sleep for 2 minutes before the next iteration + # if running as a service, sleep before the next iteration time.sleep(config.service_sleep_time) \ No newline at end of file