@@ -58,7 +58,7 @@ def __new__(cls, name, default, text=None, *args):
5858 # Return the instance
5959 return self
6060
61- def __init__ (self , name , default , text = None , * args ):
61+ def __init__ (self , name , default , text = None ):
6262 """Store the base attributes and create the menu."""
6363 self .name = name
6464 self .default = default
@@ -178,7 +178,7 @@ def __init__(
178178 self , name , default , text = None , min_value = None , max_value = None
179179 ):
180180 """Store the base attributes on instantiation."""
181- super ().__init__ (name = name , default = default , text = text )
181+ super ().__init__ (name , default , text )
182182 if min_value is not None and max_value is not None :
183183 if min_value >= max_value :
184184 raise ValueError (
@@ -296,7 +296,8 @@ class BoolSetting(SettingsType):
296296
297297 _type = bool
298298
299- def __init__ (self , * args , ** kwargs ):
299+ def __init__ (self , name , default , text = None ):
300+ super ().__init__ (name , default , text )
300301 # TODO: add translations
301302 for value , name in enumerate (['Yes' , 'No' ]):
302303 self .menu .append (
@@ -326,6 +327,7 @@ class StringSetting(SettingsType):
326327
327328 def __init__ (self , name , default , text = None ):
328329 """Store the base attributes on instatiation."""
330+ super ().__init__ (name , default , text )
329331 self .options = OrderedDict ()
330332
331333 def add_option (self , name , text = None ):
0 commit comments