From 810cdd3aab89dd93634cfc9bf2f73aa79aa58f02 Mon Sep 17 00:00:00 2001 From: wuzewu Date: Mon, 8 Apr 2019 20:00:37 +0800 Subject: [PATCH] update search result table width --- paddlehub/commands/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddlehub/commands/search.py b/paddlehub/commands/search.py index 41751950..40a0b400 100644 --- a/paddlehub/commands/search.py +++ b/paddlehub/commands/search.py @@ -46,7 +46,7 @@ class SearchCommand(BaseCommand): resource_list = default_hub_server.search_resource(resource_name) tp = TablePrinter( titles=["ResourceName", "Type", "Version", "Summary"], - placeholders=[25, 10, 10, 35]) + placeholders=[30, 8, 8, 25]) for resource_name, resource_type, resource_version, resource_summary in resource_list: if resource_type == "Module": colors = ["yellow", None, None, None] -- GitLab