From a9eb7160816f4813fc33345c6b1b2da7f39f8f73 Mon Sep 17 00:00:00 2001 From: q Date: Tue, 23 Sep 2025 15:04:13 +0300 Subject: [PATCH] fixing more broken interpolated strings --- tsmark/video_annotator.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tsmark/video_annotator.py b/tsmark/video_annotator.py index 739ed1a..c6cf04f 100755 --- a/tsmark/video_annotator.py +++ b/tsmark/video_annotator.py @@ -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: