1
0
mirror of https://github.com/Escartem/AnimeWwise.git synced 2026-06-04 23:40:25 +08:00

better progress bar

This commit is contained in:
Escartem
2025-01-07 14:32:47 +01:00
parent d45a457983
commit 982bf81c27
2 changed files with 9 additions and 4 deletions

View File

@@ -371,8 +371,8 @@ class WwiseExtract:
def update_progress(self, current, total, step):
base = 100 / self.steps
self.progress(["total", current * base // total + base * (step - 1)])
self.progress(["file", current * 100 // total])
self.progress(["total", current * base / total + base * (step - 1)])
self.progress(["file", current * 100 / total])
def reset(self):
self.mapper = None