From d4240f134599a96730976b6628540cd403284232 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Wed, 5 Apr 2023 10:45:45 -0500 Subject: [PATCH] file size should always be at least 1 to avoid division errors closes #209 --- resources/lib/backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/backup.py b/resources/lib/backup.py index 8821f90..59d89be 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -569,7 +569,7 @@ class FileManager: exclude_dir = [] root_dirs = [] pathSep = '/' - totalSize = 0 + totalSize = 1 def __init__(self, vfs): self.vfs = vfs