enabled debug in converter, ds2012 converts successfully
This commit is contained in:
parent
13bee2342b
commit
8061a29fee
|
@ -12,7 +12,7 @@
|
||||||
# - bbb
|
# - bbb
|
||||||
|
|
||||||
--- !Question
|
--- !Question
|
||||||
question: Wie heißt der Gewinner der SHA-3 Competition?
|
question: Wie heisst der Gewinner der SHA-3 Competition?
|
||||||
answers:
|
answers:
|
||||||
- false: BLAKE
|
- false: BLAKE
|
||||||
- false: Grostl
|
- false: Grostl
|
||||||
|
@ -68,7 +68,7 @@ game_round: 1
|
||||||
--- !Question
|
--- !Question
|
||||||
question: Welche Stichwoerter duerfen eBooks bei Apple nicht enthalten?
|
question: Welche Stichwoerter duerfen eBooks bei Apple nicht enthalten?
|
||||||
answers:
|
answers:
|
||||||
- true Amazon
|
- true: Amazon
|
||||||
- false: Android
|
- false: Android
|
||||||
- false: Gay
|
- false: Gay
|
||||||
- false: Nipples
|
- false: Nipples
|
||||||
|
@ -403,7 +403,7 @@ tier: 10
|
||||||
game_round: 3
|
game_round: 3
|
||||||
|
|
||||||
--- !Question
|
--- !Question
|
||||||
question: Wie viel Prozent der Lauschangriffe sind rechtswidrig (verstossen mind. gegen Verfahrensvorschriften)?
|
question: Wieviele Lauschangriffe verstossen in .de gegen die Vorschriften?
|
||||||
answers:
|
answers:
|
||||||
- true: 3/4
|
- true: 3/4
|
||||||
- false: 1/2
|
- false: 1/2
|
||||||
|
@ -431,9 +431,6 @@ game_round: 4
|
||||||
# (evtl YDKJ Style: Bilder vorbeifliegen, drücken wenn "COP")
|
# (evtl YDKJ Style: Bilder vorbeifliegen, drücken wenn "COP")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#--- !Question
|
#--- !Question
|
||||||
#question: What is e-voting machine not good in?
|
#question: What is e-voting machine not good in?
|
||||||
# - true: counting votes
|
# - true: counting votes
|
||||||
|
@ -441,4 +438,3 @@ game_round: 4
|
||||||
# - false: Failure to log normal/abnormal voting events
|
# - false: Failure to log normal/abnormal voting events
|
||||||
# - false: Skewing off the ballot
|
# - false: Skewing off the ballot
|
||||||
# 1616
|
# 1616
|
||||||
|
|
||||||
|
|
|
@ -349,7 +349,8 @@ def gen_answers_html(questions, game_rounds):
|
||||||
for num, question in enumerate(
|
for num, question in enumerate(
|
||||||
questions_per_round(questions, game_round=round)):
|
questions_per_round(questions, game_round=round)):
|
||||||
fh.write('<li>')
|
fh.write('<li>')
|
||||||
fh.write('Question {0}: {1}<br />'.format(num + 1, question.question))
|
print question.question
|
||||||
|
fh.write(u'Question {0}: {1}<br />'.format(num + 1, question.question))
|
||||||
answers = ['<link href="{0}">Link {1}</link> '.format(s, n) \
|
answers = ['<link href="{0}">Link {1}</link> '.format(s, n) \
|
||||||
for n, s in enumerate(question.source.split())]
|
for n, s in enumerate(question.source.split())]
|
||||||
#encode('utf-8')),
|
#encode('utf-8')),
|
||||||
|
@ -393,7 +394,7 @@ def main():
|
||||||
if options.pdf:
|
if options.pdf:
|
||||||
gen_pdf(questions, game_rounds)
|
gen_pdf(questions, game_rounds)
|
||||||
|
|
||||||
gen_answers_html(questions, game_rounds)
|
#gen_answers_html(questions, game_rounds)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in New Issue