added get_option_name to Range option for spoiler generation
This commit is contained in:
parent
6e33181f05
commit
d7a46f089e
|
@ -139,6 +139,8 @@ class Range(Option):
|
|||
return cls(data)
|
||||
return cls.from_text(str(data))
|
||||
|
||||
def get_option_name(self):
|
||||
return str(self.value)
|
||||
|
||||
class OptionNameSet(Option):
|
||||
default = frozenset()
|
||||
|
|
Loading…
Reference in New Issue