mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 18:44:53 +01:00
bitwarden
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user