Show More
@@ -160,8 +160,9 b' class NbConvertApp(BaseIPythonApplication):' | |||||
160 | writer_factory = Type() |
|
160 | writer_factory = Type() | |
161 |
|
161 | |||
162 | def _writer_class_changed(self, name, old, new): |
|
162 | def _writer_class_changed(self, name, old, new): | |
163 | if new.lower() in self.writer_aliases: |
|
163 | new = new.lower() | |
164 |
|
|
164 | if new in self.writer_aliases: | |
|
165 | new = self.writer_aliases[new] | |||
165 | self.writer_factory = import_item(new) |
|
166 | self.writer_factory = import_item(new) | |
166 |
|
167 | |||
167 | # Post-processor specific variables |
|
168 | # Post-processor specific variables | |
@@ -177,8 +178,9 b' class NbConvertApp(BaseIPythonApplication):' | |||||
177 | post_processor_factory = Type() |
|
178 | post_processor_factory = Type() | |
178 |
|
179 | |||
179 | def _post_processor_class_changed(self, name, old, new): |
|
180 | def _post_processor_class_changed(self, name, old, new): | |
180 | if new.lower() in self.post_processor_aliases: |
|
181 | new = new.lower() | |
181 |
|
|
182 | if new in self.post_processor_aliases: | |
|
183 | new = self.post_processor_aliases[new] | |||
182 | if new: |
|
184 | if new: | |
183 | self.post_processor_factory = import_item(new) |
|
185 | self.post_processor_factory = import_item(new) | |
184 |
|
186 |
General Comments 0
You need to be logged in to leave comments.
Login now