From 631a407ce4e23aa6abd0513cf352499801ded47a Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 4 Mar 2025 21:27:59 +0100 Subject: [PATCH] !fixup: Avoid duplicate exclude_files_larger_than treatment --- npbackup/restic_wrapper/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npbackup/restic_wrapper/__init__.py b/npbackup/restic_wrapper/__init__.py index beb72a0..4191413 100644 --- a/npbackup/restic_wrapper/__init__.py +++ b/npbackup/restic_wrapper/__init__.py @@ -1016,7 +1016,7 @@ class ResticRunner: # In case of conversion to 0, avoid setting this value if exclude_files_larger_than == 0: exclude_files_larger_than = None - + if exclude_files_larger_than: cmd += f" --exclude-larger-than {exclude_files_larger_than}" if one_file_system: cmd += " --one-file-system"