Skip to content

Commit

Permalink
remove janky f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Nov 27, 2023
1 parent dee58b6 commit b6d7b03
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/surface/gui/gui/event_nodes/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ def __init__(self, srv_type: SrvType, topic: str, signal: pyqtBoundSignal,
def __connect_to_service(self) -> None:
"""Connect this client to a server in a separate thread."""
while not self.cli.wait_for_service(timeout_sec=self.timeout):
# TODO this f strings looks janky
self.get_logger().info(
'Service for GUI event client node on topic' +
f' {self.topic} unavailable, waiting again...')
('Service for GUI event client node on topic',
f' {self.topic} unavailable, waiting again...'))

def send_request_async(self, request: SrvTypeRequest) -> None:
"""Send request to server in separate thread."""
Expand Down

0 comments on commit b6d7b03

Please sign in to comment.