##// END OF EJS Templates
Merge pull request #3752 from jdfreder/add_cwd2path...
Matthias Bussonnier -
r11724:9df1a04e merge
parent child Browse files
Show More
@@ -137,9 +137,18 b' class NbConvertApp(BaseIPythonApplication):'
137 @catch_config_error
137 @catch_config_error
138 def initialize(self, argv=None):
138 def initialize(self, argv=None):
139 super(NbConvertApp, self).initialize(argv)
139 super(NbConvertApp, self).initialize(argv)
140 self.init_syspath()
140 self.init_notebooks()
141 self.init_notebooks()
141 self.init_writer()
142 self.init_writer()
142
143
144
145 def init_syspath(self):
146 """
147 Add the cwd to the sys.path ($PYTHONPATH)
148 """
149 sys.path.insert(0, os.getcwd())
150
151
143 def init_notebooks(self):
152 def init_notebooks(self):
144 """Construct the list of notebooks.
153 """Construct the list of notebooks.
145 If notebooks are passed on the command-line,
154 If notebooks are passed on the command-line,
General Comments 0
You need to be logged in to leave comments. Login now