1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-03-14 23:32:02 +01:00

Progress in datasource as plugin implementation

This commit is contained in:
Yann 2016-05-25 16:00:34 +02:00
commit f8e8750eec
10 changed files with 63 additions and 9 deletions

View file

@ -185,7 +185,7 @@ def none_val(value):
def str_val(value):
try:
str(value)
return str(value)
except Exception as e:
raise SettingsValidationError("Not able to convert value to string : " + str(e))
@ -306,8 +306,4 @@ LODEL2_CONF_SPECS = {
'editormode': ( False,
SettingValidator('bool')),
},
'lodel2.datasources.*': {
'identifier': ( None,
SettingValidator('string'))
}
}