Added "Code" question type
This commit is contained in:
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…
Reference in New Issue