Skip to content

Commit

Permalink
CLI: Fix --repo-name not working as intended
Browse files Browse the repository at this point in the history
  • Loading branch information
deajan committed Oct 30, 2024
1 parent 3205e62 commit 2a136ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions npbackup/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ def cli_interface():
sys.exit(72)

if not args.group_operation:
repo_name = None
if not args.repo_name:
repo_name = args.repo_name
if repo_name is None:
repo_name = "default"
repo_config, _ = npbackup.configuration.get_repo_config(full_config, repo_name)
if not repo_config:
Expand Down

0 comments on commit 2a136ce

Please sign in to comment.