aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fietsboek/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fietsboek/util.py b/fietsboek/util.py
index 5a41b3f..5611c51 100644
--- a/fietsboek/util.py
+++ b/fietsboek/util.py
@@ -512,7 +512,7 @@ def recursive_size(path: Path) -> int:
:return: The combined size, in bytes.
"""
size = 0
- for root, _, files in os.walk(path):
+ for root, _folders, files in os.walk(path):
size += sum(os.path.getsize(os.path.join(root, fname)) for fname in files)
return size