Skip to content

Commit

Permalink
Merge pull request #7361 from meeseeksmachine/auto-backport-of-pr-726…
Browse files Browse the repository at this point in the history
…8-on-1.x

Backport PR #7268 on branch 1.x (fixes #7264: use default `app_dir` when `app_dir == ''`)
  • Loading branch information
telamonian committed Oct 15, 2019
2 parents fbcad21 + c52bf90 commit e68729b
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 e68729b

Please sign in to comment.