Skip to content

Commit

Permalink
Merge pull request ipython#3551 from minrk/fixpath
Browse files Browse the repository at this point in the history
fix path prefix in nbconvert
  • Loading branch information
minrk committed Jul 5, 2013
2 parents 679f1ea + ec4e508 commit c0a0940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/nbconvert/exporters/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def _init_environment(self):
"""
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),
Expand Down

0 comments on commit c0a0940

Please sign in to comment.