Skip to content

Commit

Permalink
Update readers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-cmy committed Oct 6, 2023
1 parent 2dab392 commit b10e515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kedro_projetaai/utils/readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ def _is_within_date_range(

def _get_paths(self) -> list[str]:
path_list = self._filesystem.find(self.path)
if path_list:
if path_list is False:
raise ValueError(
f"""No files found in the given path
please check if it's correct: {self.path}"""
Expand Down

0 comments on commit b10e515

Please sign in to comment.