fix: format_time rollover, move sys.path to conftest

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 11:16:52 +02:00
parent 5819ea2970
commit 68f9a01d2b
3 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ def build_export_path(folder: str, basename: str, counter: int) -> str:
def format_time(seconds: float) -> str:
m = int(seconds) // 60
s = seconds - m * 60
m = int(seconds // 60)
s = int(seconds % 60 * 10) / 10 # floor-truncate to 1dp, prevents "X:60.0" rollover
return f"{m}:{s:04.1f}"