From 4b97994ec19fde14ffda010b8d6c977b883651e8 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Mon, 1 Apr 2024 18:37:47 -0500 Subject: [PATCH] bug fix: layout providers --- bin/transport | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/transport b/bin/transport index 363d2d9..6d5710d 100755 --- a/bin/transport +++ b/bin/transport @@ -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():