Skip to content

Commit

Permalink
fix f string
Browse files Browse the repository at this point in the history
  • Loading branch information
dzid26 committed Oct 2, 2024
1 parent 11f0c2c commit 57d1358
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion board/jungle/scripts/can_health.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def colorize_errors(value):

while True:
print(chr(27) + "[2J") # clear screen
print(f"Connected to " + ("internal panda" if jungle.is_internal() else "External panda") + f" id: {jungle.get_serial()[0]}: {jungle.get_version()}")
print("Connected to " + ("internal panda" if jungle.is_internal() else "External panda") + f" id: {jungle.get_serial()[0]}: {jungle.get_version()}")
for bus in range(3):
print(f"\nBus {bus}:")
health = jungle.can_health(bus)
Expand Down
2 changes: 1 addition & 1 deletion tests/can_health.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def colorize_errors(value):
panda = Panda()
while True:
print(chr(27) + "[2J") # clear screen
print(f"Connected to " + ("internal panda" if panda.is_internal() else "External panda") + f" id: {panda.get_serial()[0]}: {panda.get_version()}")
print("Connected to " + ("internal panda" if panda.is_internal() else "External panda") + f" id: {panda.get_serial()[0]}: {panda.get_version()}")
for bus in range(3):
print(f"\nBus {bus}:")
health = panda.can_health(bus)
Expand Down

0 comments on commit 57d1358

Please sign in to comment.