list command fix
This commit is contained in:
@@ -10,6 +10,9 @@ def list_cmd(args):
|
||||
check_ground_libs_path()
|
||||
|
||||
ground_libs_folder = os.getenv("GROUND_LIBS")
|
||||
|
||||
folders = []
|
||||
if os.path.isdir(ground_libs_folder): # used to prevent errors that are caused by the GROUND_LIBS folder not existing
|
||||
folders = os.listdir(ground_libs_folder)
|
||||
|
||||
table = Table("Name", "Version", "Description", title="Installed")
|
||||
|
||||
Reference in New Issue
Block a user