From df52014d1253e9c91114ad11202da8b61facc966 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 30 Jan 2015 18:36:24 +1100 Subject: [PATCH] * Fix download script --- spacy/en/download.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/en/download.py b/spacy/en/download.py index 88a39a1cb..8fc657e13 100644 --- a/spacy/en/download.py +++ b/spacy/en/download.py @@ -15,6 +15,7 @@ DEST_DIR = path.join(path.dirname(__file__), 'tmp_data') def download_file(url, out): wget.download(url, out=out) + return url.rsplit('/', 1)[1] def install_all_data(url, dest_dir):