fixed loop for shutter2can

This commit is contained in:
root 2019-12-16 00:41:16 +00:00
parent f241e7cf04
commit e6da99b4a6

View File

@ -138,8 +138,8 @@ def main():
mcp_mqtt.connect("mcp", 1883, 60) mcp_mqtt.connect("mcp", 1883, 60)
try: try:
while True: while True:
mcp_mqtt.loop_start() mcp_mqtt.loop()
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass
finally: finally: