From 0396f5a7bb69664fb47a241879e971e26054d802 Mon Sep 17 00:00:00 2001 From: Mark Waddle Date: Wed, 20 Nov 2024 09:29:45 -0800 Subject: [PATCH] Avoids case where app name can be empty (#255) --- .../semantic_workbench_assistant/start.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/python/semantic-workbench-assistant/semantic_workbench_assistant/start.py b/libraries/python/semantic-workbench-assistant/semantic_workbench_assistant/start.py index ce07e94..cfbb4c5 100644 --- a/libraries/python/semantic-workbench-assistant/semantic_workbench_assistant/start.py +++ b/libraries/python/semantic-workbench-assistant/semantic_workbench_assistant/start.py @@ -22,8 +22,8 @@ def main(): parse_args.add_argument( "--app", type=str, - help="assistant app to start; ex: workbench_assistant.canonical:app", - default=os.getenv("ASSISTANT_APP", "assistant:app"), + help="assistant app to start in format : (also supports ASSISTANT_APP env var)", + default=os.getenv("ASSISTANT_APP") or "assistant:app", ) parse_args.add_argument( "--port",