diff --git a/aleksis/apps/untis/data_checks.py b/aleksis/apps/untis/data_checks.py index fc7b47512c6302e1e17e3dbfbd2a597a8712d446..bff579cf0ee6e42d5df9ab1e9d62d53e81ed47bf 100644 --- a/aleksis/apps/untis/data_checks.py +++ b/aleksis/apps/untis/data_checks.py @@ -12,7 +12,7 @@ class CourseGroupNotFoundAndCreated(DataCheck): "The Untis import created a new course group because no matching group has been found." ) - solve_options = {IgnoreSolveOption.name: IgnoreSolveOption} + solve_options = {IgnoreSolveOption._class_name: IgnoreSolveOption} @classmethod def run_check_data(cls): @@ -29,7 +29,7 @@ class CourseGroupNotFoundAndNotCreated(DataCheck): "for a lesson because no matching group has been found." ) - solve_options = {IgnoreSolveOption.name: IgnoreSolveOption} + solve_options = {IgnoreSolveOption._class_name: IgnoreSolveOption} @classmethod def run_check_data(cls):