Fixed variable typo in question parser

This commit is contained in:
Sebastian Lohff 2014-12-16 01:55:13 +01:00
parent 9ea09888aa
commit d7a2d8c56a
1 changed files with 1 additions and 1 deletions

View File

@ -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"):