diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-03-17 15:45:20 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-03-17 15:45:20 +0100 |
commit | 74803f43f64437ae98e04586e14a22c9895d24f7 (patch) | |
tree | 522078cfd93b2691a76a1dcdcaf3da9bc2097ccd /lib/utils.py | |
parent | 61880a2d8cc36f306d142c8e63fd84792c449de4 (diff) |
parse_conf_str: support spaces between key-value pairs
Diffstat (limited to 'lib/utils.py')
-rw-r--r-- | lib/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |