From 6728d434b91d2b98b2cd2d9a5b2a833c9f1376b8 2013-07-25 17:32:44 From: Jonathan Frederic Date: 2013-07-25 17:32:44 Subject: [PATCH] Insert cwd to top of list --- diff --git a/IPython/nbconvert/nbconvertapp.py b/IPython/nbconvert/nbconvertapp.py index 3064372..4e4c52d 100755 --- a/IPython/nbconvert/nbconvertapp.py +++ b/IPython/nbconvert/nbconvertapp.py @@ -145,7 +145,7 @@ class NbConvertApp(BaseIPythonApplication): """ Add the cwd to the sys.path ($PYTHONPATH) """ - sys.path.append(os.getcwd()) + sys.path.insert(0, os.getcwd()) def init_notebooks(self):