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),