From 74803f43f64437ae98e04586e14a22c9895d24f7 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 17 Mar 2025 15:45:20 +0100 Subject: parse_conf_str: support spaces between key-value pairs --- lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.py b/lib/utils.py index 4850a53..3f5b610 100644 --- a/lib/utils.py +++ b/lib/utils.py @@ -150,7 +150,7 @@ def parse_conf_str(conf_str): """ conf_dict = dict() for option in conf_str.split(","): - key, value = option.split("=") + key, value = option.strip().split("=") conf_dict[key] = soft_cast_float(value) return conf_dict -- cgit v1.2.3