From 237d5976f0cb7ce3f904ef4814b88f2ff4930415 2013-07-05 19:07:47 From: MinRK Date: 2013-07-05 19:07:47 Subject: [PATCH] fix path prefix in nbconvert there was a typo in a previous PR --- diff --git a/IPython/nbconvert/exporters/exporter.py b/IPython/nbconvert/exporters/exporter.py index b8c33f6..7e25156 100755 --- a/IPython/nbconvert/exporters/exporter.py +++ b/IPython/nbconvert/exporters/exporter.py @@ -288,7 +288,7 @@ class Exporter(Configurable): """ Create the Jinja templating environment. """ - here = os.path.realpath(__file__) + here = os.path.dirname(os.path.realpath(__file__)) self.environment = Environment( loader=FileSystemLoader([ os.path.join(here, self.template_path),