Skip to content

Commit

Permalink
Better handle JUPYTER_CONF_URLS values
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishnu Mohan committed Aug 7, 2018
1 parent 52218ef commit d7d0176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_notebook_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
'jaas.conf']

jupyter_conf_urls = os.getenv('JUPYTER_CONF_URLS')
if jupyter_conf_urls:
if (jupyter_conf_urls) and (jupyter_conf_urls != ''):
spark_mesos_uris = []
for url in jupyter_conf_urls.split(','):
for file in JUPYTER_CONF_FILES:
Expand Down

0 comments on commit d7d0176

Please sign in to comment.