Browse Source

bugfix

master
Tobias Brunner 10 months ago
parent
commit
10f4c22aa4
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      lgt92.py
  2. +1
    -1
      rhf1s001.py

+ 1
- 1
lgt92.py View File

@ -35,7 +35,7 @@ def on_publish_ot(client, userdata, rc):
def on_log(client, userdata, level, buf):
logging_level = mqtt.LOGGING_LEVEL[level]
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.
def on_message_ttn(client, userdata, msg):


+ 1
- 1
rhf1s001.py View File

@ -23,7 +23,7 @@ def on_connect_ttn(client, userdata, flags, rc):
def on_log(client, userdata, level, buf):
logging_level = mqtt.LOGGING_LEVEL[level]
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.
def on_message_ttn(client, userdata, msg):


Loading…
Cancel
Save