~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/__init__.py

  • Committer: matt.giuca
  • Date: 2009-02-25 01:15:49 UTC
  • Revision ID: svn-v4:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1206
tutorial/__init__.py: Fixed path to exercises template
    (prefixed "templates/").

Show diffs side-by-side

added added

removed removed

Lines of Context:
361
361
    #Save the exercise details to the Table of Contents
362
362
 
363
363
    loader = genshi.template.TemplateLoader(".", auto_reload=True)
364
 
    tmpl = loader.load(os.path.join(os.path.dirname(__file__), "exercise.html"))
 
364
    tmpl = loader.load(os.path.join(os.path.dirname(__file__),
 
365
        "templates/exercise.html"))
365
366
    ex_stream = tmpl.generate(curctx)
366
367
    return {'name': exercise.name,
367
368
            'complete': curctx['complete_class'],