diff --git a/jupyter_notebook/services/clusters/clustermanager.py b/jupyter_notebook/services/clusters/clustermanager.py index c0a8776..6b82db6 100644 --- a/jupyter_notebook/services/clusters/clustermanager.py +++ b/jupyter_notebook/services/clusters/clustermanager.py @@ -71,7 +71,7 @@ class ClusterManager(LoggingConfigurable): for profile in stale: # remove profiles that no longer exist self.log.debug("Profile '%s' no longer exists", profile) - self.profiles.pop(stale) + self.profiles.pop(profile) def list_profiles(self): self.update_profiles()