From 866c6bae3ef0f0126679ef9758d9af5d335e0f5a Mon Sep 17 00:00:00 2001 From: Dave McKay Date: Wed, 30 Oct 2024 09:31:38 +0000 Subject: [PATCH] . --- csd3-side/scripts/backup_progress.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/csd3-side/scripts/backup_progress.py b/csd3-side/scripts/backup_progress.py index 8ebf416..e0ef345 100644 --- a/csd3-side/scripts/backup_progress.py +++ b/csd3-side/scripts/backup_progress.py @@ -5,9 +5,7 @@ logp = sys.argv[1] logcsv = sys.argv[2] - total = 0 - with open(logp, 'r') as logf: for line in logf: if 'Folders: ' in line and ' Files: ' in line: @@ -30,8 +28,5 @@ prog += len(line.split('"')[-2].split(',')) elif 'LOCAL_FOLDER' not in line: prog += 1 - # print(prog) pbar.update(prog - progress) - progress = prog - # print(progress) - + progress = prog \ No newline at end of file