bitwarden

This commit is contained in:
jaydee
2024-09-24 19:46:57 +02:00
parent c11fd55a03
commit f4da579b09

View File

@@ -124,7 +124,7 @@ if _ACTION == "join":
for p in parts:
f.write(f"file '{p}'\n")
file_stats = os.stat(p)
final_size += file_stats.st_size / (1024 * 1024)
final_size += file_stats.st_size
f.close()
print(final_size)
print(_FULL_PATH)
@@ -178,15 +178,18 @@ if _ACTION == "join":
with tqdm(total=100, position=1, desc="Join") as pbar:
while True:
#pbar.update(1)
#pbar.update()
try:
file_stats = os.stat(export_name)
print(file_stats.st_size )
cur_size = file_stats.st_size
final_size
cur_stat = (cur_size / final_size) * 100
print(cur_stat)
pass
except:
pass
time.sleep(1)
time.sleep(3)
# get the output
print(ff.stderr)