diff --git a/changedetectionio/forms.py b/changedetectionio/forms.py index b2b53382..facfc7bd 100644 --- a/changedetectionio/forms.py +++ b/changedetectionio/forms.py @@ -214,7 +214,7 @@ class ValidateListRegex(object): message = field.gettext('RegEx \'%s\' is not a valid regular expression.') raise ValidationError(message % (line)) -class ValidateCSSJSONXPATHInput(object): +class ValidateCSSJSONXPathInput(object): """ Filter validation @todo CSS validator ;) @@ -282,7 +282,7 @@ class watchForm(commonSettingsForm): minutes_between_check = html5.IntegerField('Maximum time in minutes until recheck', [validators.Optional(), validators.NumberRange(min=1)]) - css_filter = StringField('CSS/JSON/XPATH Filter', [ValidateCSSJSONXPATHInput()]) + css_filter = StringField('CSS/JSON/XPath Filter', [ValidateCSSJSONXPathInput()]) title = StringField('Title') ignore_text = StringListField('Ignore Text', [ValidateListRegex()]) diff --git a/changedetectionio/templates/edit.html b/changedetectionio/templates/edit.html index e6df51e8..6b0be692 100644 --- a/changedetectionio/templates/edit.html +++ b/changedetectionio/templates/edit.html @@ -115,7 +115,7 @@ User-Agent: wonderbra 1.0") }}