Show More
@@ -25,6 +25,7 b' import glob' | |||
|
25 | 25 | |
|
26 | 26 | # From IPython |
|
27 | 27 | from IPython.core.application import BaseIPythonApplication, base_aliases, base_flags |
|
28 | from IPython.core.profiledir import ProfileDir | |
|
28 | 29 | from IPython.config import catch_config_error, Configurable |
|
29 | 30 | from IPython.utils.traitlets import ( |
|
30 | 31 | Unicode, List, Instance, DottedObjectName, Type, CaselessStrEnum, |
@@ -87,12 +88,13 b' class NbConvertApp(BaseIPythonApplication):' | |||
|
87 | 88 | return logging.INFO |
|
88 | 89 | |
|
89 | 90 | def _classes_default(self): |
|
90 | classes = [NbConvertBase] | |
|
91 | classes = [NbConvertBase, ProfileDir] | |
|
91 | 92 | for pkg in (exporters, preprocessors, writers): |
|
92 | 93 | for name in dir(pkg): |
|
93 | 94 | cls = getattr(pkg, name) |
|
94 | 95 | if isinstance(cls, type) and issubclass(cls, Configurable): |
|
95 | 96 | classes.append(cls) |
|
97 | ||
|
96 | 98 | return classes |
|
97 | 99 | |
|
98 | 100 | description = Unicode( |
General Comments 0
You need to be logged in to leave comments.
Login now