From 2704b97c8c66eadad3afb63d509893b8e4ca8a83 Mon Sep 17 00:00:00 2001 From: Tim Kreuzer <t.kreuzer@fz-juelich.de> Date: Wed, 19 Mar 2025 17:15:41 +0100 Subject: [PATCH] fix r2d link repopathtype --- jsc_custom/handler/share_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsc_custom/handler/share_handler.py b/jsc_custom/handler/share_handler.py index d289d08..7ba14c7 100644 --- a/jsc_custom/handler/share_handler.py +++ b/jsc_custom/handler/share_handler.py @@ -149,12 +149,12 @@ class R2DHandler(SpawnHandler): # if "labpath" in self.request.arguments if len(arguments_dict_lower.get("labpath", [])) > 0: - user_options["repo2docker"]["repopathtype"] = "File" + user_options["repo2docker"]["repopathtype"] = "file" user_options["repo2docker"]["repopath"] = arguments_dict_lower.get( "labpath" )[0].decode("utf-8") elif len(arguments_dict_lower.get("urlpath", [])) > 0: - user_options["repo2docker"]["repopathtype"] = "URL" + user_options["repo2docker"]["repopathtype"] = "url" user_options["repo2docker"]["repopath"] = arguments_dict_lower.get( "urlpath" )[0].decode("utf-8") -- GitLab