mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-25 04:46:58 +08:00
Reformat file with black
This commit is contained in:
parent
3f139769ba
commit
ab3a4efc28
1 changed files with 3 additions and 1 deletions
|
|
@ -835,7 +835,9 @@ def _load_config_file(config_file: Path) -> Union[bool, dict]:
|
|||
return False
|
||||
try:
|
||||
conf_version = version.parse(full_config.g("conf_version"))
|
||||
if conf_version < version.parse(MIN_CONF_VERSION) or conf_version > version.parse(MAX_CONF_VERSION):
|
||||
if conf_version < version.parse(
|
||||
MIN_CONF_VERSION
|
||||
) or conf_version > version.parse(MAX_CONF_VERSION):
|
||||
logger.critical(
|
||||
f"Config file version {str(conf_version)} is not in required version range min={MIN_CONF_VERSION}, max={MAX_CONF_VERSION}"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue