mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 18:44:53 +01:00
bitwarden
This commit is contained in:
@@ -177,7 +177,7 @@ if _ACTION == "join":
|
||||
# pbar.update(progress - pbar.n)
|
||||
with tqdm(total=100, position=1, desc="Join") as pbar:
|
||||
position=0
|
||||
while True:
|
||||
while proc.returncode is None:
|
||||
|
||||
#pbar.update()
|
||||
try:
|
||||
@@ -188,14 +188,11 @@ if _ACTION == "join":
|
||||
|
||||
pbar.update(int(cur_stat) - position)
|
||||
position = int(cur_stat)
|
||||
print(proc.returncode)
|
||||
if cur_stat == 100:
|
||||
break
|
||||
except:
|
||||
pass
|
||||
|
||||
time.sleep(3)
|
||||
|
||||
pbar.update(1)
|
||||
# get the output
|
||||
status = 0
|
||||
if status == 0:
|
||||
|
||||
Reference in New Issue
Block a user