From 768bbe3e88c68d6716b69254a96ef1fb97322dcc Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Tue, 10 Aug 2021 22:23:55 +0200 Subject: [PATCH] Use fsspec's "find()" method instead of "glob()" --- wetterdienst/util/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wetterdienst/util/network.py b/wetterdienst/util/network.py index d523d70d0..b00fff4cd 100644 --- a/wetterdienst/util/network.py +++ b/wetterdienst/util/network.py @@ -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)