Fixed variable typo in question parser
This commit is contained in:
parent
9ea09888aa
commit
d7a2d8c56a
|
@ -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"):
|
||||
|
|
Loading…
Reference in New Issue