better config error message

This commit is contained in:
Bela 2018-05-04 16:08:45 +02:00
parent f9fd8f5eb0
commit 940463b63c

View file

@ -636,7 +636,8 @@ class Default(Command):
"Add a line " + self.name + "-Value: " +
"<your Default value> to the field " +
self.reason.name +
" (" + self.reason["FieldName"] + ")")
" (" + self.name + " in " +
self.reason.name + ")")
value = self.interpret(self["Value"])
if value != "" and value is not None:
# is not None should not happen but who knows