mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
9c5c5eb203
commit
80b861ab46
@ -168,11 +168,13 @@ class filetrans(basetext):
|
||||
return
|
||||
time.sleep(0.1)
|
||||
|
||||
lenfile = len(file)
|
||||
|
||||
class __p:
|
||||
def __del__(self):
|
||||
gobject.baseobject.settin_ui.progresssignal2.emit(
|
||||
"{}/{} {:0.2f}% ".format(
|
||||
index + 1, len(file), 100 * (index + 1) / len(file)
|
||||
index + 1, lenfile, 100 * (index + 1) / lenfile
|
||||
),
|
||||
(index + 1),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user