This commit is contained in:
gwen 2024-09-10 10:15:02 +02:00
parent eaf139147a
commit 81443dc368

View file

@ -88,8 +88,8 @@ class RougailUserDataEnvironment:
# here we expect the bash option value of a multi to be coma separated:
# FIXME faire un strip() la dessus
option_bash_value = option_bash_value.split(",")
if type_obj is not None:
option_bash_value = [type_obj(opt) for opt in option_value]
if type_obj:
option_bash_value = [type_obj(opt) for opt in option_value]
elif type_obj:
option_bash_value = type_obj(option_bash_value)
option.value.set(option_bash_value)