bugfix
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
41c9b481f8
commit
10f4c22aa4
2
lgt92.py
2
lgt92.py
|
@ -35,7 +35,7 @@ def on_publish_ot(client, userdata, rc):
|
||||||
def on_log(client, userdata, level, buf):
|
def on_log(client, userdata, level, buf):
|
||||||
logging_level = mqtt.LOGGING_LEVEL[level]
|
logging_level = mqtt.LOGGING_LEVEL[level]
|
||||||
logging.log(logging_level, buf)
|
logging.log(logging_level, buf)
|
||||||
logging.info("got a log message level %s: %s", str(userdata), level, str(buf))
|
logging.info("got a log message level %s: %s", level, str(buf))
|
||||||
|
|
||||||
# The callback for when a PUBLISH message is received from the server.
|
# The callback for when a PUBLISH message is received from the server.
|
||||||
def on_message_ttn(client, userdata, msg):
|
def on_message_ttn(client, userdata, msg):
|
||||||
|
|
|
@ -23,7 +23,7 @@ def on_connect_ttn(client, userdata, flags, rc):
|
||||||
def on_log(client, userdata, level, buf):
|
def on_log(client, userdata, level, buf):
|
||||||
logging_level = mqtt.LOGGING_LEVEL[level]
|
logging_level = mqtt.LOGGING_LEVEL[level]
|
||||||
logging.log(logging_level, buf)
|
logging.log(logging_level, buf)
|
||||||
logging.info("got a log message level %s: %s", str(userdata), level, str(buf))
|
logging.info("got a log message level %s: %s", level, str(buf))
|
||||||
|
|
||||||
# The callback for when a PUBLISH message is received from the server.
|
# The callback for when a PUBLISH message is received from the server.
|
||||||
def on_message_ttn(client, userdata, msg):
|
def on_message_ttn(client, userdata, msg):
|
||||||
|
|
Loading…
Reference in New Issue