|
@@ -45,7 +45,7 @@ class MetaSettings(type):
|
45
|
45
|
#
|
46
|
46
|
# @par Init sequence
|
47
|
47
|
# The initialization sequence is a bit tricky. In fact, plugins adds allowed
|
48
|
|
-# configuration sections/values, but the list of plugins to load in in... the
|
|
48
|
+# configuration sections/values, but the list of plugins to load are in... the
|
49
|
49
|
# settings.
|
50
|
50
|
# Here is the conceptual presentation of Settings class initialization stages :
|
51
|
51
|
# -# Preloading (sets values like lodel2 library path or the plugins path)
|
|
@@ -120,7 +120,7 @@ class Settings(object, metaclass=MetaSettings):
|
120
|
120
|
#@param confvalue is a dict with variables to save
|
121
|
121
|
#@param validators is a dict with adapted validator
|
122
|
122
|
@classmethod
|
123
|
|
- def set(cls, confname, confvalue,loader):
|
|
123
|
+ def set(cls, confname, confvalue,validators,loader):
|
124
|
124
|
for key in confvalue:
|
125
|
125
|
loader.setoption(confname, key, confvalue[key], validators[key])
|
126
|
126
|
|