diff --git a/src/rpi-cpu2mqtt.py b/src/rpi-cpu2mqtt.py index 7cfb7cf..737425d 100644 --- a/src/rpi-cpu2mqtt.py +++ b/src/rpi-cpu2mqtt.py @@ -623,7 +623,6 @@ if __name__ == '__main__': thread1.start() if config.update: - update_status() # Start the update_status function in a new thread thread2 = threading.Thread(target=update_status) thread2.daemon = True # Set the daemon attribute to True