Update rpi-cpu2mqtt.py
This commit is contained in:
committed by
GitHub
parent
033a000797
commit
bbfbe9a4d8
@@ -10,7 +10,7 @@ import time
|
||||
import socket
|
||||
import paho.mqtt.client as paho
|
||||
import json
|
||||
import config
|
||||
import config
|
||||
import os
|
||||
import argparse
|
||||
import update
|
||||
@@ -503,4 +503,4 @@ if __name__ == '__main__':
|
||||
if not args.service:
|
||||
break
|
||||
# if running as a service, sleep before the next iteration
|
||||
time.sleep(config.service_sleep_time)
|
||||
time.sleep(config.service_sleep_time)
|
||||
|
||||
Reference in New Issue
Block a user