From cef733af2acc174dc57a449d1b21709c6a0bc44f Mon Sep 17 00:00:00 2001 From: Elad Gershon Date: Tue, 17 Sep 2024 11:44:54 +0300 Subject: [PATCH] the length of file is 0 Signed-off-by: Elad Gershon --- plugins/pdr_deterministic_plugin/tests/simulation_telemetry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pdr_deterministic_plugin/tests/simulation_telemetry.py b/plugins/pdr_deterministic_plugin/tests/simulation_telemetry.py index 3a918d71..d6890a08 100755 --- a/plugins/pdr_deterministic_plugin/tests/simulation_telemetry.py +++ b/plugins/pdr_deterministic_plugin/tests/simulation_telemetry.py @@ -236,7 +236,7 @@ def create_telemetries_logs(): successful = True abs_file_path = Path(join(TELEMETRY_DATASTORE_LOCATION,"abs")) files = list(abs_file_path.glob("*.csv")) - if files != 0: + if len(files) != 0: print("abs file have not created yet") return False df = pd.read_csv(files[0])