From 5a923752dbfd2199a54a531afaa77e507a71d122 Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 24 Sep 2024 20:00:39 +0200 Subject: [PATCH] bitwarden --- handle_imported_video.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/handle_imported_video.py b/handle_imported_video.py index 2c5a938..705e057 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -176,6 +176,7 @@ if _ACTION == "join": # for progress in ff.run_command_with_progress(): # pbar.update(progress - pbar.n) with tqdm(total=100, position=1, desc="Join") as pbar: + position=1 while True: #pbar.update() @@ -184,8 +185,9 @@ if _ACTION == "join": cur_size = file_stats.st_size final_size cur_stat = (cur_size / final_size) * 100 - print(int(cur_stat), pbar.position) - pass + + pbar.update(cur_stat - position) + position = cur_stat except: pass