mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-09 13:44:51 +08:00
Fix wrong function call
This commit is contained in:
parent
8375a5f2d0
commit
fd310c8bcb
1 changed files with 1 additions and 1 deletions
|
|
@ -768,7 +768,7 @@ def get_repo_config(
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logger.error(f"Repo {repo_name} has no group, reset to first available group")
|
logger.error(f"Repo {repo_name} has no group, reset to first available group")
|
||||||
try:
|
try:
|
||||||
first_group = get_group_list()[0]
|
first_group = get_group_list(full_config)[0]
|
||||||
full_config.s(f"repos.{repo_name}.repo_group", first_group)
|
full_config.s(f"repos.{repo_name}.repo_group", first_group)
|
||||||
group_config = full_config.g(f"groups.{first_group}")
|
group_config = full_config.g(f"groups.{first_group}")
|
||||||
except IndexError:
|
except IndexError:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue