fix off by one in filesystem rescan progress

This commit is contained in:
Simon
2023-11-01 14:07:56 +07:00
parent 285e2042ae
commit 45f4ccfd93

View File

@@ -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,
)