From 84204627dfe7ca0b64828994f06d0ed89efaaec7 Mon Sep 17 00:00:00 2001 From: Guillaume Maze Date: Wed, 11 Dec 2024 14:58:25 +0100 Subject: [PATCH] Update argo_index_proto.py ftp fsspec is not accepting timeout=0 anymore ValueError: Non-blocking socket (timeout=0) is not supported --- argopy/stores/argo_index_proto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argopy/stores/argo_index_proto.py b/argopy/stores/argo_index_proto.py index 36bcdb28..ac9eee82 100644 --- a/argopy/stores/argo_index_proto.py +++ b/argopy/stores/argo_index_proto.py @@ -162,7 +162,7 @@ def __init__( port=0 if urlparse(host).port is None else urlparse(host).port, cache=cache, cachedir=cachedir, - timeout=timeout, + timeout=self.timeout, block_size=1000 * (2**20), )