Compare commits

..

No commits in common. "d9d0dcdbaf947e45e7137212585fe4b493158ac2" and "4d91a3f6cea9337f1571e486c7aca0aff7399889" have entirely different histories.

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
import sys
import json
import logging
@ -70,8 +69,6 @@ def on_message(channel, method_frame, header_frame, body):
if __name__ == "__main__":
logging.basicConfig(stream=sys.stdout, format="%(asctime)s - %(name)s [%(levelname)s]: %(message)s",
level=logging.DEBUG if '--debug' in sys.argv else logging.INFO)
logging.info("Guard service starting")
mqtt = MQTT()
mqtt.topic = config.MQTT_TOPIC