fixing more broken interpolated strings

This commit is contained in:
q
2025-09-23 15:04:13 +03:00
parent 758ad12629
commit a9eb716081

View File

@@ -1528,10 +1528,7 @@ class World:
elif k & 0xFF == ord("f"): # modify FPS
FPS_modifier = (FPS_modifier + 1) % len(FPS_modifiers)
self.add_message(
f"Player speed {round(
1/FPS_modifiers[FPS_modifier], 2)}"
)
self.add_message(f"Player speed {round(1/FPS_modifiers[FPS_modifier], 2)}")
elif k & 0xFF == ord("a"): # toggle crop offset
self.crop_click = 0 if self.crop_click == 1 else 1
self.crop[2] = True
@@ -1752,8 +1749,7 @@ class TrackerGUI:
show_message = f"Tracking... ({i+1}/{max_frames})"
else:
# Tracking failure
show_message = f"Tracking failure detected ({
i+1}/{max_frames})"
show_message = f"Tracking failure detected ({i+1}/{max_frames})"
bbox = None
if time.time() > show_time + visu_interval: