Added "Code" question type

master
Sebastian Lohff 10 years ago
parent d7ca903f01
commit 8d2205dd12

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

Loading…
Cancel
Save