mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
get_apps_repo: default required = false
This commit is contained in:
parent
38922236b8
commit
8444622255
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class TemporaryPath(Path):
|
|||
|
||||
APPS_REPO_DIR: TemporaryPath | None = None
|
||||
|
||||
def add_args(parser: argparse.ArgumentParser, required: bool = True, allow_temp: bool = True) -> None:
|
||||
def add_args(parser: argparse.ArgumentParser, required: bool = False, allow_temp: bool = True) -> None:
|
||||
env_apps_dir_str = os.environ.get("YNH_APPS_DIR")
|
||||
env_apps_dir = Path(env_apps_dir_str) if env_apps_dir_str is not None else None
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue