Reformat file with black

This commit is contained in:
deajan 2024-09-06 14:09:03 +02:00
parent 4998888330
commit 87939317d2

View file

@ -849,14 +849,17 @@ class ResticRunner:
level="info",
)
if os.path.isfile(
os.path.join(CURRENT_DIR, 'excludes', os.path.basename(exclude_file))
os.path.join(
CURRENT_DIR, "excludes", os.path.basename(exclude_file)
)
):
cmd += f' --{case_ignore_param}exclude-file "{os.path.join(CURRENT_DIR, os.path.basename(exclude_file))}"'
else:
self.write_logs(
f"Exclude file '{exclude_file}' not found", level="error"
f"Exclude file '{exclude_file}' not found",
level="error",
)
if exclude_caches: