diff --git a/paddlehub/commands/download.py b/paddlehub/commands/download.py index 8eace4b52a53845d58d4f1bf0f6cdd727b74d2d2..a7db88918fa1918fd4252b28586934264330c55e 100644 --- a/paddlehub/commands/download.py +++ b/paddlehub/commands/download.py @@ -57,7 +57,6 @@ class DownloadCommand(BaseCommand): extra = {"command": "download"} if self.args.type in ["Module", "Model"]: - search_result = default_hub_server.get_resource_url( mod_name, resource_type=self.args.type,