diff --git a/question.py b/question.py index 4d082a1..018c465 100644 --- a/question.py +++ b/question.py @@ -80,7 +80,7 @@ class Questions(object): # check for broken question types if q["Type"] not in self.QUESTION_TYPES: - raise QuestionException("Question %d from Section %d (%s) has an invalid type '%s' (valid types are %s)" % (j, i, sec["Section"], q["Type"], ", ".join(self.VALID_TYPES))) + raise QuestionException("Question %d from Section %d (%s) has an invalid type '%s' (valid types are %s)" % (j, i, sec["Section"], q["Type"], ", ".join(self.QUESTION_TYPES))) # check if file for music/image questions exist if q["Type"] in ("Music", "Image"):