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(