Browse Source

fixed loop for shutter2can

master
root 5 years ago
parent
commit
e6da99b4a6
  1. 4
      tools/shutter2can.py

4
tools/shutter2can.py

@ -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:

Loading…
Cancel
Save