##// END OF EJS Templates
Add cwd to sys.path...
Jonathan Frederic -
Show More
@@ -136,9 +136,18 b' class NbConvertApp(BaseIPythonApplication):'
136 @catch_config_error
136 @catch_config_error
137 def initialize(self, argv=None):
137 def initialize(self, argv=None):
138 super(NbConvertApp, self).initialize(argv)
138 super(NbConvertApp, self).initialize(argv)
139 self.init_path()
139 self.init_notebooks()
140 self.init_notebooks()
140 self.init_writer()
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 def init_notebooks(self):
151 def init_notebooks(self):
143 """Construct the list of notebooks.
152 """Construct the list of notebooks.
144 If notebooks are passed on the command-line,
153 If notebooks are passed on the command-line,
General Comments 0
You need to be logged in to leave comments. Login now