Skip to content

Commit

Permalink
fix nested f string in py3.11 and below
Browse files Browse the repository at this point in the history
  • Loading branch information
mgineer85 committed Nov 18, 2024
1 parent a3488e0 commit 5e14c69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wigglecam/connector/camerapool.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ def print_nodes_status(self):
print(
f"{idx:<3}"
f"{node_status.description.ljust(20)}"
f"{"" if node_status.can_connect else ""}"
f"{"" if node_status.is_primary else ""}"
f"{"" if node_status.is_healthy else ""}"
f"{'' if node_status.can_connect else ''}"
f"{'' if node_status.is_primary else ''}"
f"{'' if node_status.is_healthy else ''}"
f"{node_status.status}"
)

Expand Down

0 comments on commit 5e14c69

Please sign in to comment.