Fixed viewing templates.

This commit is contained in:
Nicholas Staples
2016-01-22 11:20:39 +00:00
parent bb853ee95a
commit ac433835f0
3 changed files with 6 additions and 7 deletions

View File

@@ -14,7 +14,6 @@ from client.errors import HTTPError
def manage_service_templates(service_id):
try:
templates = tdao.get_service_templates(service_id)['data']
print(templates)
except HTTPError as e:
if e.status_code == 404:
abort(404)