Fix wrong function call

This commit is contained in:
deajan 2025-02-17 00:27:11 +01:00
parent 8375a5f2d0
commit fd310c8bcb

View file

@ -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: