validate → clean

This commit is contained in:
Laura Klünder 2017-12-26 02:12:44 +01:00
parent fce60cf8c3
commit 06797a99b8
2 changed files with 7 additions and 7 deletions

View file

@ -171,7 +171,7 @@ class EditorFormBase(I18nModelFormMixin, ModelForm):
raise ValidationError(_('Invalid JSON.'))
from c3nav.routing.locator import LocatorPoint
LocatorPoint.validate_scans(data)
LocatorPoint.clean_scans(data)
return data