diff --git a/IPython/core/application.py b/IPython/core/application.py index 5b7bd5e..f2c0c22 100644 --- a/IPython/core/application.py +++ b/IPython/core/application.py @@ -268,6 +268,9 @@ class BaseIPythonApplication(Application): def init_profile_dir(self): """initialize the profile dir""" self._in_init_profile_dir = True + if self.profile_dir is not None: + # already ran + return try: # location explicitly specified: location = self.config.ProfileDir.location