Normalize arcade show -T input (#331)
Small change that normalizes the toolkit package name to use underscores instead of hyphens. Python packages use underscores, not hyphens
This commit is contained in:
parent
887ded441e
commit
89a009d1af
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ def create_cli_catalog(
|
|||
Load toolkits from the python environment.
|
||||
"""
|
||||
if toolkit:
|
||||
toolkit = toolkit.lower()
|
||||
toolkit = toolkit.lower().replace("-", "_")
|
||||
try:
|
||||
prefixed_toolkit = "arcade_" + toolkit
|
||||
toolkits = [Toolkit.from_package(prefixed_toolkit)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue