bitwarden

This commit is contained in:
jaydee
2024-09-24 20:12:54 +02:00
parent 0cd34f8838
commit 0f5fd54cf8

View File

@@ -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: