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