##// END OF EJS Templates
don't let missing config prevent embed from launching...
MinRK -
Show More
@@ -343,7 +343,11 b' def load_default_config(ipython_dir=None):'
343 ipython_dir = get_ipython_dir()
343 ipython_dir = get_ipython_dir()
344 profile_dir = os.path.join(ipython_dir, 'profile_default')
344 profile_dir = os.path.join(ipython_dir, 'profile_default')
345 cl = PyFileConfigLoader(default_config_file_name, profile_dir)
345 cl = PyFileConfigLoader(default_config_file_name, profile_dir)
346 config = cl.load_config()
346 try:
347 config = cl.load_config()
348 except IOError:
349 # no config found
350 config = Config()
347 return config
351 return config
348
352
349
353
General Comments 0
You need to be logged in to leave comments. Login now