From 13c8a42d2b7f4ef630b33ede0239a70a1c0140bc Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 16 Apr 2017 13:03:58 +0200 Subject: [PATCH] Fix typos --- spacy/cli/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/cli/package.py b/spacy/cli/package.py index fb0de2cc5..d85f1a92a 100644 --- a/spacy/cli/package.py +++ b/spacy/cli/package.py @@ -47,9 +47,9 @@ def check_dirs(input_path, output_path): def create_dirs(package_path, force): if package_path.exists(): if force: - shutil.rmtree(unicode_(package_path.as_posix)) + shutil.rmtree(unicode_(package_path)) else: - util.sys_exit(unicode_(package_path.as_posix), + util.sys_exit(unicode_(package_path), "Please delete the directory and try again.", title="Package directory already exists") Path.mkdir(package_path, parents=True)