Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit bd25021

Browse files
committed
update
1 parent f5933ec commit bd25021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nowcasting_dataset/filesystem/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def check_path_exists(path: Union[str, Path]):
9797
9898
`path` can include wildcards.
9999
"""
100-
if not bool(path):
100+
if not path:
101101
raise FileNotFoundError("Not a valid path!")
102102
filesystem = get_filesystem(path)
103103
if not filesystem.exists(path):

0 commit comments

Comments
 (0)