copypaste fail, setting_info
-> export_settings[setting]
This commit is contained in:
parent
e814494777
commit
1d8173f607
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class Module(ModuleManager.BaseModule):
|
|||
try:
|
||||
result = self._config(export_settings, target, setting, value)
|
||||
except ConfigInvalidValue:
|
||||
example = setting_info.get("example", None)
|
||||
example = export_settings[setting].get("example", None)
|
||||
if not example == None:
|
||||
raise utils.EventError("Invalid value. Example: %s" %
|
||||
example)
|
||||
|
|
Loading…
Reference in a new issue