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