Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Oct 30, 2024
1 parent 6a17120 commit 866c6ba
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions csd3-side/scripts/backup_progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 866c6ba

Please sign in to comment.