mirror of https://github.com/explosion/spaCy.git
Fix variable
This commit is contained in:
parent
94a5a9814f
commit
6c7a930ee8
|
@ -272,7 +272,7 @@ def show_validation_error(
|
||||||
msg.fail(title)
|
msg.fail(title)
|
||||||
print(err.text.strip())
|
print(err.text.strip())
|
||||||
if hint_fill and "value_error.missing" in err.error_types:
|
if hint_fill and "value_error.missing" in err.error_types:
|
||||||
path = (
|
config_path = (
|
||||||
file_path
|
file_path
|
||||||
if file_path is not None and str(file_path) != "-"
|
if file_path is not None and str(file_path) != "-"
|
||||||
else "config.cfg"
|
else "config.cfg"
|
||||||
|
|
Loading…
Reference in New Issue