Skip to content

Commit 411df12

Browse files
committed
Address feedback
1 parent fef5ff9 commit 411df12

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

shiny/_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ def try_import_module(module: str) -> Optional[types.ModuleType]:
483483
"Dashboard": "dashboard",
484484
"Multi-page app with modules": "multi-page",
485485
"Custom JavaScript Component": "js-component",
486-
"Choose from online gallery 🔗": "external-gallery",
486+
"Choose from the Shiny Templates website": "external-gallery",
487487
}
488488

489489
# These are templates which produce a Python package and have content filled in at

shiny/_template_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ def template_query(
8080
import webbrowser
8181

8282
webbrowser.open(url)
83+
sys.exit(0)
8384
elif template == "js-component":
8485
js_component_questions(dest_dir=dest_dir, package_name=package_name)
86+
return
8587
elif template in package_template_choices.values():
8688
js_component_questions(template, dest_dir=dest_dir, package_name=package_name)
8789
else:

0 commit comments

Comments
 (0)