From 7d49259776d8d4a3cc345bdc644414d9ff6e163f Mon Sep 17 00:00:00 2001 From: Tom Close Date: Fri, 5 Jul 2024 13:07:11 +1000 Subject: [PATCH] fixed up connection close for use-curl-jsession --- xnat_ingest/cli/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xnat_ingest/cli/upload.py b/xnat_ingest/cli/upload.py index f0ac20a..b689191 100644 --- a/xnat_ingest/cli/upload.py +++ b/xnat_ingest/cli/upload.py @@ -530,7 +530,7 @@ def iter_staged_sessions(): raise if use_curl_jsession: - xnat_repo.exit() + xnat_repo.connection.exit() if clean_up_older_than: logger.info(