aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mqtt_watch.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mqtt_watch.py')
-rw-r--r--scripts/mqtt_watch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mqtt_watch.py b/scripts/mqtt_watch.py
index 22105c6..f263c6d 100644
--- a/scripts/mqtt_watch.py
+++ b/scripts/mqtt_watch.py
@@ -16,7 +16,7 @@ mqtt_pass = common.env("el_mqtt_pass")
# The callback for when the client receives a CONNACK response from the server.
def on_connect(client, userdata, flags, rc):
- print("Connected with result code " + str(rc))
+ print(f"Connected with result code {rc}")
# Subscribing in on_connect() means that if we lose the connection and
# reconnect then subscriptions will be renewed.