Skip to content

Commit

Permalink
handle error
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar committed May 23, 2022
1 parent 3b152c5 commit e840947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cudf/cudf/utils/ioutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ def get_reader_path_or_buf(
)

else:
if len(paths):
if len(paths) == 0:
raise FileNotFoundError(
f"{path_or_data} could not be resolved to any files"
)
Expand Down

0 comments on commit e840947

Please sign in to comment.