Skip to content

Commit

Permalink
py: fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Nov 28, 2024
1 parent c6d69ef commit b537307
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py/miniconf-mqtt/miniconf/async_.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async def _do(self, topic: str, *, response=1, **kwargs):
assert cd not in self._inflight
self._inflight[cd] = fut, []

LOGGER.info(f"Publishing {topic}: {kwargs.get("payload")}, [{props}]")
LOGGER.info(f"Publishing {topic}: {kwargs.get('payload')}, [{props}]")
await self.client.publish(
topic,
properties=props,
Expand Down
2 changes: 1 addition & 1 deletion py/miniconf-mqtt/miniconf/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def on_message(client, userdata, message):

self.client.on_message = on_message

LOGGER.info(f"Publishing {topic}: {kwargs.get("payload")}, [{props}]")
LOGGER.info(f"Publishing {topic}: {kwargs.get('payload')}, [{props}]")
pub = self.client.publish(topic, properties=props, **kwargs)

if response:
Expand Down

0 comments on commit b537307

Please sign in to comment.