Show More
@@ -136,9 +136,18 b' class NbConvertApp(BaseIPythonApplication):' | |||
|
136 | 136 | @catch_config_error |
|
137 | 137 | def initialize(self, argv=None): |
|
138 | 138 | super(NbConvertApp, self).initialize(argv) |
|
139 | self.init_path() | |
|
139 | 140 | self.init_notebooks() |
|
140 | 141 | self.init_writer() |
|
141 | 142 | |
|
143 | ||
|
144 | def init_path(self): | |
|
145 | """ | |
|
146 | Add the cwd to the sys.path ($PYTHONPATH) | |
|
147 | """ | |
|
148 | sys.path.append(os.getcwd()) | |
|
149 | ||
|
150 | ||
|
142 | 151 | def init_notebooks(self): |
|
143 | 152 | """Construct the list of notebooks. |
|
144 | 153 | If notebooks are passed on the command-line, |
General Comments 0
You need to be logged in to leave comments.
Login now