Skip to content

Commit

Permalink
the length of file is 0
Browse files Browse the repository at this point in the history
Signed-off-by: Elad Gershon <egershon@nvidia.com>
  • Loading branch information
egershonNvidia committed Sep 17, 2024
1 parent 3e94cce commit cef733a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit cef733a

Please sign in to comment.