Skip to content

Commit

Permalink
Fix blacken issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Raymond LeClair committed Oct 17, 2023
1 parent d47bebc commit 1db76cf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions daisy/dAISy_pub_sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,13 @@ def _send_data(self: Any, data: Dict[str, str]) -> bool:
# Publish the output JSON to the topic
success = self.publish_to_topic(self.ais_bytestring_topic, out_json)
if success:
logging.info(f"Successfully sent data on channel {self.ais_bytestring_topic}: {data}")
logging.info(
f"Successfully sent data on channel {self.ais_bytestring_topic}: {data}"
)
else:
logging.info(f"Failed to send data on channel {self.ais_bytestring_topic}: {data}")
logging.info(
f"Failed to send data on channel {self.ais_bytestring_topic}: {data}"
)
return success

def process_serial_payload(self, binary_payload: str) -> None:
Expand Down

0 comments on commit 1db76cf

Please sign in to comment.