From b010e052d9f48c72b68c622a05b0e03def74bf1c Mon Sep 17 00:00:00 2001 From: MickaelRigault Date: Mon, 6 Nov 2023 14:42:46 +0100 Subject: [PATCH] test pool --- ztfquery/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ztfquery/io.py b/ztfquery/io.py index 2312956..ea8fd26 100755 --- a/ztfquery/io.py +++ b/ztfquery/io.py @@ -1012,7 +1012,7 @@ def download_url( dec_, cutout_size_, ) - if pool is not None: + if pool is None: close_pool = True pool = multiprocessing.Pool(nprocess) else: