From 7a050cc660c84fd7d8c0f8aedf3eb1c6cfdce103 Mon Sep 17 00:00:00 2001 From: Sanjay Srikakulam Date: Mon, 30 Sep 2024 09:01:27 +0200 Subject: [PATCH] Fix use_temp_files, get it from the props if set if not defaults to True (old behavior) --- lib/galaxy/files/sources/webdav.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/files/sources/webdav.py b/lib/galaxy/files/sources/webdav.py index 211de0ca4ae7..7649c0a466b2 100644 --- a/lib/galaxy/files/sources/webdav.py +++ b/lib/galaxy/files/sources/webdav.py @@ -25,7 +25,7 @@ def _open_fs(self, user_context=None, opts: Optional[FilesSourceOptions] = None) props = self._serialization_props(user_context) # Check if 'use_temp_files' and 'temp_path' are set in the config, otherwise fallback - props["use_temp_files"] = getattr(config, 'webdav_use_temp_files', True) + props["use_temp_files"] = props.pop("use_temp_files", True) temp_path = getattr(config, 'file_source_temp_dir', None) if temp_path is None: