|
@@ -550,11 +550,11 @@ class LabApp(NBClassicConfigShimMixin, LabServerApp):
|
|
|
|
|
|
def initialize_templates(self):
|
|
def initialize_templates(self):
|
|
# Determine which model to run JupyterLab
|
|
# Determine which model to run JupyterLab
|
|
- if self.core_mode or self.app_dir.startswith(HERE):
|
|
|
|
|
|
+ if self.core_mode or self.app_dir.startswith(HERE + os.sep):
|
|
self.core_mode = True
|
|
self.core_mode = True
|
|
self.log.info('Running JupyterLab in core mode')
|
|
self.log.info('Running JupyterLab in core mode')
|
|
|
|
|
|
- if self.dev_mode or self.app_dir.startswith(DEV_DIR):
|
|
|
|
|
|
+ if self.dev_mode or self.app_dir.startswith(DEV_DIR + os.sep):
|
|
self.dev_mode = True
|
|
self.dev_mode = True
|
|
self.log.info('Running JupyterLab in dev mode')
|
|
self.log.info('Running JupyterLab in dev mode')
|
|
|
|
|