##// END OF EJS Templates
Make sure we dont stomp all over an existing _draft key, value.
Jonathan Frederic -
Show More
@@ -87,7 +87,8 b' class SphinxTransformer(ActivatableTransformer):'
87 # TODO: Add versatile method of additional notebook metadata. Include
87 # TODO: Add versatile method of additional notebook metadata. Include
88 # handling of multiple files. For now use a temporay namespace,
88 # handling of multiple files. For now use a temporay namespace,
89 # '_draft' to signify that this needs to change.
89 # '_draft' to signify that this needs to change.
90 nb.metadata._draft = {}
90 if not "_draft" in nb.metadata:
91 nb.metadata._draft = {}
91
92
92 if self.interactive:
93 if self.interactive:
93
94
General Comments 0
You need to be logged in to leave comments. Login now