Skip to content

Commit

Permalink
Merge pull request #186 from alexanderrichards/admins_fix
Browse files Browse the repository at this point in the history
Fixing the problem rendering admins list.
  • Loading branch information
alexanderrichards committed Nov 17, 2017
2 parents 0a3478f + 80f7885 commit 2072c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/webapp/services/Admins.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def GET(self): # pylint: disable=invalid-name
"""
with db_session() as session:
return self._template_env.get_template('html/admins.html')\
.render({'users': [session.query(Users).all()]})
.render({'users': session.query(Users).all()})

def PUT(self, user_id, admin): # pylint: disable=invalid-name
"""
Expand Down

0 comments on commit 2072c7f

Please sign in to comment.