bug fix: layout providers

This commit is contained in:
Steve Nyemba 2024-04-01 18:37:47 -05:00
parent 549cc20824
commit 4b97994ec1
1 changed files with 5 additions and 1 deletions

View File

@ -80,7 +80,11 @@ def supported (format:str="table") :
This function will print supported providers and their associated classifications
"""
_df = (transport.supported())
print (json.dumps(_df.to_dict(orient="list")))
if format in ['list','json'] :
print (json.dumps(_df.to_dict(orient="list")))
else:
print (_df)
print ()
@app.command()
def version():