This commit is contained in:
ines 2017-11-08 18:11:26 +01:00
commit 9790b5469a

View File

@ -73,6 +73,7 @@ def get_compatibility():
def get_version(model, comp):
model = model.rsplit('.dev', 1)[0]
if model not in comp:
version = about.__version__
msg = "No compatible model found for '%s' (spaCy v%s)."