Skip to content

Commit 519b020

Browse files
committed
oh ipy.. why? it's not even your file to load
1 parent eab8556 commit 519b020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compas_eve/mqtt/mqtt_paho.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self, host, port=1883, client_id=None, *args, **kwargs):
3434
self._local_callbacks = {}
3535
# Generate client ID if not provided
3636
if client_id is None:
37-
client_id = f"compas_eve_{uuid.uuid4().hex[:8]}"
37+
client_id = "compas_eve_{}".format(uuid.uuid4().hex[:8])
3838
if PAHO_MQTT_V2_AVAILABLE:
3939
self.client = mqtt.Client(client_id=client_id, callback_api_version=CallbackAPIVersion.VERSION1)
4040
else:

0 commit comments

Comments
 (0)