This commit is contained in:
gwen 2024-09-10 09:29:30 +02:00
parent 23b5b84c93
commit 27b251b5f6

View file

@ -96,10 +96,8 @@ class RougailUserDataEnvironment:
def display_environment(self, option): def display_environment(self, option):
kwargs = {} kwargs = {}
option_type = option.information.get('type') option_type = option.information.get('type')
isdefault = option.owner.isdefault()
default = option.value.get() default = option.value.get()
ismulti = option.ismulti() ismulti = option.ismulti()
type_obj = None
# here we retrieve the conversion func of the considered type # here we retrieve the conversion func of the considered type
# carefull, it could be None -> in this case, do nothing # carefull, it could be None -> in this case, do nothing
type_obj = CONVERT_OPTION.get(option_type, {}).get("func") type_obj = CONVERT_OPTION.get(option_type, {}).get("func")