Skip to content
Permalink
Browse files

fixed exception when imported_folder attribute was set to None

  • Loading branch information
Andreas Boesl
Andreas Boesl committed Feb 12, 2015
1 parent 0f9915c commit abb94ee8fdf850f7de2826e15d96f59f6654bdc1
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/htdocs/wato.py
@@ -5658,7 +5658,7 @@ def validate_input(self):
if self._mandatory and not value:
raise MKUserError("attr_" + self.name(),
_("Please specify a value for %s") % self.title())
if value.strip() == "" and not self._allow_empty:
if not self._allow_empty and value.strip() == "":
raise MKUserError("attr_" + self.name(),
_("%s may be missing, if must not be empty if it is set.") % self.title())

0 comments on commit abb94ee

Please sign in to comment.
You can’t perform that action at this time.