Added "Code" question type

This commit is contained in:
Sebastian Lohff 2013-12-02 01:08:43 +01:00
parent d7ca903f01
commit 8d2205dd12
1 changed files with 1 additions and 1 deletions

View File

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