mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-06-05 22:09:23 +02:00
Multithreading yay
This commit is contained in:
@ -157,3 +157,11 @@ def LoadLocale(Lang):
|
||||
|
||||
def IsLightRun(File, LimitFiles):
|
||||
return False if LimitFiles == False or File in LimitFiles else True
|
||||
|
||||
def PrintPercentDots(Percent):
|
||||
Cur, Tot = Percent
|
||||
CalcCur = int((Cur/Tot)*100)
|
||||
if CalcCur % 10 == 0:
|
||||
CalcPrev = int((Cur-1/Tot)*100)
|
||||
if CalcPrev % 10 != 0:
|
||||
print('.', end='')
|
Reference in New Issue
Block a user