Skip to content

Commit

Permalink
Merge pull request #1 from minrk/cluster-profile-typo
Browse files Browse the repository at this point in the history
fix typo in cluster profile list
  • Loading branch information
Carreau committed Apr 13, 2015
2 parents 94bdb8b + 0fefa38 commit e57f482
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 e57f482

Please sign in to comment.