# HG changeset patch # Parent b82b9012736b3d8e0bc7f6325f47cb2fb86f475d diff --git a/controllers/academy.py b/controllers/academy.py --- a/controllers/academy.py +++ b/controllers/academy.py @@ -15,7 +15,7 @@ class academy(main.Home): @http.route('/', auth='none') def index(self): tas = [ - '
  • %s
  • ' % (i, ta['name']) + '
  • %s
  • ' % (i, ta['name']) for i, ta in enumerate(teaching_assistants) ] @@ -32,7 +32,7 @@ class academy(main.Home): 'tas': '\n'.join(tas) } - @http.route('/tas', auth='none') + @http.route('/tas//', auth='none') def ta(self, id): return """ @@ -44,4 +44,4 @@ class academy(main.Home):

    %(name)s

    -""" % teaching_assistants[int(id)] +""" % teaching_assistants[id]