benchmark_app: is_file->is_file() (#21016)
Close https://github.com/openvinotoolkit/openvino/issues/21000 Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
This commit is contained in:
1 parent
70a2736695
commit
e79e5122f8
1 file changed
+1
-1
@@ -446,7 +446,7 @@ def parse_path(path, app_input_info):
|
||||
files = list()
|
||||
if input_path.is_dir():
|
||||
files = input_path.iterdir()
|
||||
elif input_path.is_file:
|
||||
elif input_path.is_file():
|
||||
files = [input_path]
|
||||
for file in files:
|
||||
if file.suffix.lower() in IMAGE_EXTENSIONS:
|
||||
|
||||
Reference in new issue
Block a user