mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-22 18:12:00 +03:00
Fix return
This commit is contained in:
parent
24bfc9a895
commit
3e63ba1b02
|
@ -143,7 +143,8 @@ def info_installed_model_url(model: str) -> Optional[str]:
|
|||
data = json.loads(text)
|
||||
return data["url"]
|
||||
except Exception:
|
||||
return None
|
||||
pass
|
||||
return None
|
||||
|
||||
|
||||
def info_model_url(model: str) -> Dict[str, Any]:
|
||||
|
|
Loading…
Reference in New Issue
Block a user