Skip to content

Commit

Permalink
fix typo in cluster profile list
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Apr 11, 2015
1 parent bbf97ff commit 0fefa38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jupyter_notebook/services/clusters/clustermanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ def update_profiles(self):
"""List all profiles in the ipython_dir and cwd.
"""
try:
from IPythons.paths import get_ipython_dir
from IPython.paths import get_ipython_dir
from IPython.core.profileapp import list_profiles_in
except ImportError:
self.log.info("IPython not available")
except ImportError as e:
self.log.info("IPython not available: %s", e)
return
stale = set(self.profiles)
for path in [get_ipython_dir(), py3compat.getcwd()]:
Expand Down

0 comments on commit 0fefa38

Please sign in to comment.