Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 9b37060

Browse files
committed
quizlys missing runestone_options
1 parent 508b7d9 commit 9b37060

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runestone/quizly/quizly.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class Quizly(RunestoneIdDirective):
118118
optional_arguments = 0
119119
has_content = True
120120
option_spec = RunestoneIdDirective.option_spec.copy()
121-
option_spec.update( {} )
121+
option_spec.update({})
122122

123123
def run(self):
124124
super(Quizly, self).run()
@@ -136,6 +136,7 @@ def run(self):
136136
self.options["controls"] = self.content[:plstart]
137137

138138
quizly_node = QuizlyNode()
139+
quizly_node["runestone_options"] = self.options
139140
quizly_node["quizname"] = str(self.options['controls'][0])
140141
quizly_node["quizname"] = str.strip(quizly_node["quizname"][10:])
141142
quizly_node["template"] = QUIZLY_TEMPLATE.replace(

0 commit comments

Comments
 (0)