Skip to content

Commit

Permalink
Prepend current directory to output_files_dir
Browse files Browse the repository at this point in the history
Ensures path is not relative and gets appended to build directory
  • Loading branch information
klane committed Dec 24, 2019
1 parent 68ac2f6 commit a4d68a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jekyllnb/jekyllnb.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def init_single_notebook_resources(self, notebook_filename):
)
resources["image_dir"] = resources["output_files_dir"]
resources["output_files_dir"] = os.path.join(
self.site_dir, resources["output_files_dir"]
os.getcwd(), self.site_dir, resources["output_files_dir"]
)

return resources

0 comments on commit a4d68a5

Please sign in to comment.