From e79e5122f800c6d7e1e6e6637a7b5a27acf88507 Mon Sep 17 00:00:00 2001 From: Zlobin Vladimir Date: Mon, 13 Nov 2023 15:04:14 +0400 Subject: [PATCH] benchmark_app: `is_file`->`is_file()` (#21016) Close https://github.com/openvinotoolkit/openvino/issues/21000 Co-authored-by: Andrei Kochin --- .../openvino/tools/benchmark/utils/inputs_filling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/benchmark_tool/openvino/tools/benchmark/utils/inputs_filling.py b/tools/benchmark_tool/openvino/tools/benchmark/utils/inputs_filling.py index b4211c76a0a..c7240c8b12e 100644 --- a/tools/benchmark_tool/openvino/tools/benchmark/utils/inputs_filling.py +++ b/tools/benchmark_tool/openvino/tools/benchmark/utils/inputs_filling.py @@ -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: