Skip to content

Commit a866571

Browse files
committed
Update string format.
1 parent d38cdea commit a866571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/seesaw_rotary_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
position = seesaw.encoder_position()
2222
if position != last_position:
2323
last_position = position
24-
print(f"Position: {position}")
24+
print("Position: {}".format(position))
2525

2626
if not button.value and not button_held:
2727
button_held = True

0 commit comments

Comments
 (0)