mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-12 16:04:48 +08:00
Reformat files with black
This commit is contained in:
parent
213e9bc4cf
commit
9c80875e9d
2 changed files with 4 additions and 4 deletions
|
@ -493,7 +493,9 @@ def _load_config_file(config_file: Path) -> Union[bool, dict]:
|
|||
)
|
||||
return False
|
||||
except AttributeError:
|
||||
logger.critical("Cannot read conf version from config file, which seems bogus")
|
||||
logger.critical(
|
||||
"Cannot read conf version from config file, which seems bogus"
|
||||
)
|
||||
return False
|
||||
return full_config
|
||||
except OSError:
|
||||
|
|
|
@ -398,9 +398,7 @@ class NPBackupRunner:
|
|||
return False
|
||||
else:
|
||||
# pylint: disable=E1102 (not-callable)
|
||||
result = fn(
|
||||
self, *args, **kwargs
|
||||
)
|
||||
result = fn(self, *args, **kwargs)
|
||||
return result
|
||||
|
||||
return wrapper
|
||||
|
|
Loading…
Add table
Reference in a new issue