mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 18:44:53 +01:00
bitwarden
This commit is contained in:
@@ -176,6 +176,7 @@ if _ACTION == "join":
|
|||||||
# for progress in ff.run_command_with_progress():
|
# for progress in ff.run_command_with_progress():
|
||||||
# pbar.update(progress - pbar.n)
|
# pbar.update(progress - pbar.n)
|
||||||
with tqdm(total=100, position=1, desc="Join") as pbar:
|
with tqdm(total=100, position=1, desc="Join") as pbar:
|
||||||
|
position=1
|
||||||
while True:
|
while True:
|
||||||
|
|
||||||
#pbar.update()
|
#pbar.update()
|
||||||
@@ -184,8 +185,9 @@ if _ACTION == "join":
|
|||||||
cur_size = file_stats.st_size
|
cur_size = file_stats.st_size
|
||||||
final_size
|
final_size
|
||||||
cur_stat = (cur_size / final_size) * 100
|
cur_stat = (cur_size / final_size) * 100
|
||||||
print(int(cur_stat), pbar.position)
|
|
||||||
pass
|
pbar.update(cur_stat - position)
|
||||||
|
position = cur_stat
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user