Skip to content

Commit

Permalink
Backport PR jupyterlab#7268: fixes jupyterlab#7264: use default `app_…
Browse files Browse the repository at this point in the history
…dir` when `app_dir == ''`
  • Loading branch information
telamonian authored and MeeseeksDev[bot] committed Oct 15, 2019
1 parent fbcad21 commit c52bf90
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jupyterlab/commands.py
Expand Up @@ -297,6 +297,11 @@ def __init__(self, logger=None, core_config=None, **kwargs):
kwargs['core_config'] = core_config
if logger is not None:
kwargs['logger'] = logger

# use the default if app_dir is empty
if 'app_dir' in kwargs and not kwargs['app_dir']:
kwargs.pop('app_dir')

super(AppOptions, self).__init__(**kwargs)

app_dir = Unicode(help='The application directory')
Expand Down

0 comments on commit c52bf90

Please sign in to comment.