From 8d2205dd1291ca698c9ef0d96fbffb5bd403ed75 Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Mon, 2 Dec 2013 01:08:43 +0100 Subject: [PATCH] Added "Code" question type --- question.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question.py b/question.py index da0e603..2377ee4 100644 --- a/question.py +++ b/question.py @@ -10,7 +10,7 @@ class QuestionException(Exception): class Questions(object): """ Object holding all the questions """ - QUESTION_TYPES = ["Text", "Image", "Music"] + QUESTION_TYPES = ["Text", "Image", "Music", "Code"] QUESTION_KEYS = ["Name", "Question", "Answer", "Type", "Double-Jeopardy"] def __init__(self, qfile):