Skip to content

Commit d7d0176

Browse files
author
Vishnu Mohan
committed
Better handle JUPYTER_CONF_URLS values
1 parent 52218ef commit d7d0176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_notebook_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
'jaas.conf']
197197

198198
jupyter_conf_urls = os.getenv('JUPYTER_CONF_URLS')
199-
if jupyter_conf_urls:
199+
if (jupyter_conf_urls) and (jupyter_conf_urls != ''):
200200
spark_mesos_uris = []
201201
for url in jupyter_conf_urls.split(','):
202202
for file in JUPYTER_CONF_FILES:

0 commit comments

Comments
 (0)