Show More
@@ -124,6 +124,8 b' class Application(object):' | |||||
124 | except AttributeError: |
|
124 | except AttributeError: | |
125 | self.ipythondir = self.default_config.IPYTHONDIR |
|
125 | self.ipythondir = self.default_config.IPYTHONDIR | |
126 | sys.path.append(os.path.abspath(self.ipythondir)) |
|
126 | sys.path.append(os.path.abspath(self.ipythondir)) | |
|
127 | if not os.path.isdir(self.ipythondir): | |||
|
128 | os.makedirs(self.ipythondir, mode = 0777) | |||
127 | self.log("IPYTHONDIR set to: %s" % self.ipythondir) |
|
129 | self.log("IPYTHONDIR set to: %s" % self.ipythondir) | |
128 |
|
130 | |||
129 | def find_config_file_name(self): |
|
131 | def find_config_file_name(self): |
General Comments 0
You need to be logged in to leave comments.
Login now