fix: rounding tqdm warning

This commit is contained in:
2026-02-02 21:55:17 +00:00
parent 7a9a878871
commit 996568a43c

View File

@@ -193,7 +193,7 @@ def _concat_ts_files(file_list: list[str], start_offset: float, end_offset: floa
if line.startswith("out_time_ms="): if line.startswith("out_time_ms="):
out_time_ms = int(line.split("=")[1]) out_time_ms = int(line.split("=")[1])
seconds = out_time_ms / 1_000_000 seconds = round(out_time_ms / 1_000_000)
pbar.n = min(seconds, length) pbar.n = min(seconds, length)
pbar.refresh() pbar.refresh()