Show More
@@ -146,7 +146,7 b' class BaseIPythonApplication(Application):' | |||
|
146 | 146 | return d |
|
147 | 147 | |
|
148 | 148 | _in_init_profile_dir = False |
|
149 | profile_dir = Instance(ProfileDir) | |
|
149 | profile_dir = Instance(ProfileDir, allow_none=True) | |
|
150 | 150 | def _profile_dir_default(self): |
|
151 | 151 | # avoid recursion |
|
152 | 152 | if self._in_init_profile_dir: |
@@ -87,7 +87,7 b' def signature_removed(nb):' | |||
|
87 | 87 | class NotebookNotary(LoggingConfigurable): |
|
88 | 88 | """A class for computing and verifying notebook signatures.""" |
|
89 | 89 | |
|
90 | profile_dir = Instance("IPython.core.profiledir.ProfileDir") | |
|
90 | profile_dir = Instance("IPython.core.profiledir.ProfileDir", allow_none=True) | |
|
91 | 91 | def _profile_dir_default(self): |
|
92 | 92 | from IPython.core.application import BaseIPythonApplication |
|
93 | 93 | app = None |
General Comments 0
You need to be logged in to leave comments.
Login now