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