Skip to content

Commit

Permalink
Fix path to feedback template
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamrick committed Feb 8, 2017
1 parent db46039 commit 54e3521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbgrader/apps/feedbackapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def build_extra_config(self):
if 'template_file' not in self.config.HTMLExporter:
extra_config.HTMLExporter.template_file = 'feedback'
if 'template_path' not in self.config.HTMLExporter:
template_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'formgrader', 'templates'))
template_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'server_extensions', 'formgrader', 'templates'))
extra_config.HTMLExporter.template_path = ['.', template_path]

return extra_config

0 comments on commit 54e3521

Please sign in to comment.