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