Remove unneccessary validator for --export_dir
X-DeepSpeech: NOBUILD
This commit is contained in:
parent
9da99d74e4
commit
84e1fa98b9
@ -133,8 +133,3 @@ def create_flags():
|
||||
f.register_validator('one_shot_infer',
|
||||
lambda value: not value or os.path.isfile(value),
|
||||
message='The file pointed to by --one_shot_infer must exist and be readable.')
|
||||
|
||||
f.register_validator('export_dir',
|
||||
lambda value: not value or os.path.isdir(value),
|
||||
message='The path pointed to by --export_dir must exist and be a directory.')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user