From 45f4ccfd93ba15c260d96e1037c0c5b71478a6c7 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 1 Nov 2023 14:07:56 +0700 Subject: [PATCH] fix off by one in filesystem rescan progress --- tubearchivist/home/src/index/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubearchivist/home/src/index/filesystem.py b/tubearchivist/home/src/index/filesystem.py index ab208c2..c650ced 100644 --- a/tubearchivist/home/src/index/filesystem.py +++ b/tubearchivist/home/src/index/filesystem.py @@ -83,7 +83,7 @@ class Scanner: if self.task: self.task.send_progress( message_lines=[ - f"Index missing video {youtube_id}, {idx}/{total}" + f"Index missing video {youtube_id}, {idx + 1}/{total}" ], progress=(idx + 1) / total, )