File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -162,11 +162,6 @@ class method. This method can be set as a entry_point in
162
162
def _default_open_browser (self ):
163
163
return self .serverapp .config ["ServerApp" ].get ("open_browser" , True )
164
164
165
- @property
166
- def config_file_paths (self ):
167
- """Look on the same path as our parent for config files"""
168
- return self .serverapp .config_file_paths
169
-
170
165
# The extension name used to name the jupyter config
171
166
# file, jupyter_{name}_config.
172
167
# This should also match the jupyter subcommand used to launch
Original file line number Diff line number Diff line change 104
104
base_flags ,
105
105
base_aliases ,
106
106
)
107
+ from jupyter_core .paths import jupyter_config_path
107
108
from jupyter_client import KernelManager
108
109
from jupyter_client .kernelspec import KernelSpecManager
109
110
from jupyter_client .session import Session
@@ -2153,7 +2154,11 @@ def find_server_extensions(self):
2153
2154
# This enables merging on keys, which we want for extension enabling.
2154
2155
# Regular config loading only merges at the class level,
2155
2156
# so each level clobbers the previous.
2156
- manager = ExtensionConfigManager (read_config_path = self .config_file_paths )
2157
+ config_paths = jupyter_config_path ()
2158
+ if self .config_dir not in config_paths :
2159
+ # add self.config_dir to the front, if set manually
2160
+ config_paths .insert (0 , self .config_dir )
2161
+ manager = ExtensionConfigManager (read_config_path = config_paths )
2157
2162
extensions = manager .get_jpserver_extensions ()
2158
2163
2159
2164
for modulename , enabled in sorted (extensions .items ()):
You can’t perform that action at this time.
0 commit comments