Browse Source

Fixed variable typo in question parser

Sebastian Lohff 5 years ago
parent
commit
d7a2d8c56a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      question.py

+ 1
- 1
question.py View File

@@ -80,7 +80,7 @@ class Questions(object):
80 80
 
81 81
 				# check for broken question types
82 82
 				if q["Type"] not in self.QUESTION_TYPES:
83
-					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)))
83
+					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)))
84 84
 
85 85
 				# check if file for music/image questions exist
86 86
 				if q["Type"] in ("Music", "Image"):

Loading…
Cancel
Save