Skip to content

Commit

Permalink
get_apps_repo.from_args: support when allow_temp was false
Browse files Browse the repository at this point in the history
  • Loading branch information
Félix Piédallu committed Sep 13, 2024
1 parent abb862e commit afd5e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/appslib/get_apps_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def from_args(args: Optional[argparse.Namespace]) -> Path:
assert args is not None
if args.apps_dir is not None:
APPS_REPO_PATH = args.apps_dir
elif args.apps_repo is not None:
elif "apps_repo" in args and args.apps_repo is not None:
APPS_REPO_TMPDIR = tempfile.TemporaryDirectory(prefix="yunohost_apps_")
APPS_REPO_PATH = Path(APPS_REPO_TMPDIR.name)
logging.info("Cloning the 'apps' repository...")
Expand Down

0 comments on commit afd5e57

Please sign in to comment.