diff --git a/csd3-side/scripts/backup_progress.py b/csd3-side/scripts/backup_progress.py index 51b39a5..4f2ff7a 100644 --- a/csd3-side/scripts/backup_progress.py +++ b/csd3-side/scripts/backup_progress.py @@ -11,7 +11,7 @@ with open(logp, 'r') as logf: for line in logf: if 'Folders: ' in line and ' Files: ' in line: - total = float(line.split()[3].strip()) + total = int(line.split()[3].strip()) break with tqdm.tqdm(total=total) as pbar: progress = 0