mirror of
https://github.com/borgbase/vorta
synced 2025-02-22 22:30:41 +00:00
parent
b96e8d460e
commit
be6a39bc29
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ def get_directory_size(dir_path):
|
|||
if stat.st_ino not in seen: # Visit each file only once
|
||||
seen.add(stat.st_ino)
|
||||
data_size += stat.st_size
|
||||
except FileNotFoundError:
|
||||
except (FileNotFoundError, PermissionError):
|
||||
continue
|
||||
|
||||
files_count = len(seen)
|
||||
|
|
Loading…
Reference in a new issue