file size should always be at least 1 to avoid division errors

closes #209
This commit is contained in:
Rob Weber 2023-04-05 10:45:45 -05:00
parent e144e5ea92
commit d4240f1345

View File

@ -569,7 +569,7 @@ class FileManager:
exclude_dir = [] exclude_dir = []
root_dirs = [] root_dirs = []
pathSep = '/' pathSep = '/'
totalSize = 0 totalSize = 1
def __init__(self, vfs): def __init__(self, vfs):
self.vfs = vfs self.vfs = vfs