mirror of
https://github.com/netinvent/npbackup.git
synced 2024-09-20 14:56:14 +08:00
Reformat file with black
This commit is contained in:
parent
4998888330
commit
87939317d2
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue