From 478868d4a2a81e22ad29682fe42a5d638341f754 Mon Sep 17 00:00:00 2001
From: Tim Kreuzer <t.kreuzer@fz-juelich.de>
Date: Tue, 8 Apr 2025 10:05:21 +0200
Subject: [PATCH] fix datadir localstoragepath key

---
 jsc_custom/handler/share_handler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jsc_custom/handler/share_handler.py b/jsc_custom/handler/share_handler.py
index 7ba14c7..d368334 100644
--- a/jsc_custom/handler/share_handler.py
+++ b/jsc_custom/handler/share_handler.py
@@ -187,7 +187,7 @@ class R2DHandler(SpawnHandler):
         # Check if persistent storage is required
         if len(arguments_dict_lower.get("localstoragepath", [])) > 0:
             user_options["storage"] = {
-                "localstoragepath": arguments_dict_lower.get("datadir")[0].decode(
+                "localstoragepath": arguments_dict_lower.get("localstoragepath")[0].decode(
                     "utf-8"
                 )
             }
-- 
GitLab