From 996568a43c31db815cc38c00c27faa09f7cf4424 Mon Sep 17 00:00:00 2001 From: Dylan De Faoite Date: Mon, 2 Feb 2026 21:55:17 +0000 Subject: [PATCH] fix: rounding tqdm warning --- rewind/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rewind/core.py b/rewind/core.py index 7b1f39d..ff1e266 100644 --- a/rewind/core.py +++ b/rewind/core.py @@ -193,7 +193,7 @@ def _concat_ts_files(file_list: list[str], start_offset: float, end_offset: floa if line.startswith("out_time_ms="): 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.refresh()