diff --git a/IPython/html/services/clusters/clustermanager.py b/IPython/html/services/clusters/clustermanager.py index c0a8776..6b82db6 100644 --- a/IPython/html/services/clusters/clustermanager.py +++ b/IPython/html/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()