Skip to content

Commit

Permalink
Use fsspec's "find()" method instead of "glob()"
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Aug 14, 2021
1 parent 4d2dde5 commit 768bbe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wetterdienst/util/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def list_remote_files_fsspec(

# Recursively list remote directory.
if not recursive:
remote_urls = filesystem.glob(url + "/*")
remote_urls = filesystem.find(url)
else:
remote_urls = filesystem.expand_path(url, recursive=recursive)

Expand Down

0 comments on commit 768bbe3

Please sign in to comment.