Core: better pretty-print for OptionList when the list is of non-strings
This commit is contained in:
parent
c10e17d24c
commit
75625b143c
|
@ -292,7 +292,7 @@ class OptionList(Option):
|
|||
return cls.from_text(str(data))
|
||||
|
||||
def get_option_name(self, value):
|
||||
return ", ".join(value)
|
||||
return ", ".join(map(str, value))
|
||||
|
||||
def __contains__(self, item):
|
||||
return item in self.value
|
||||
|
|
Loading…
Reference in New Issue