From d7a2d8c56a0fa098bef98c2471654fbc4b5af6da Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Tue, 16 Dec 2014 01:55:13 +0100 Subject: [PATCH] Fixed variable typo in question parser --- question.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"):