mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 17:54:39 +03:00
Fix typos
This commit is contained in:
parent
31fa73293a
commit
13c8a42d2b
|
@ -47,9 +47,9 @@ def check_dirs(input_path, output_path):
|
||||||
def create_dirs(package_path, force):
|
def create_dirs(package_path, force):
|
||||||
if package_path.exists():
|
if package_path.exists():
|
||||||
if force:
|
if force:
|
||||||
shutil.rmtree(unicode_(package_path.as_posix))
|
shutil.rmtree(unicode_(package_path))
|
||||||
else:
|
else:
|
||||||
util.sys_exit(unicode_(package_path.as_posix),
|
util.sys_exit(unicode_(package_path),
|
||||||
"Please delete the directory and try again.",
|
"Please delete the directory and try again.",
|
||||||
title="Package directory already exists")
|
title="Package directory already exists")
|
||||||
Path.mkdir(package_path, parents=True)
|
Path.mkdir(package_path, parents=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user