Tweak rendering for python 3

This commit is contained in:
Lance Edgar 2018-02-14 09:52:19 -06:00
parent 0a16cc2ded
commit cfb6cf5ab4

View file

@ -114,7 +114,7 @@ class TempmonClientView(MasterView):
for probe in probes: for probe in probes:
text = six.text_type(probe) text = six.text_type(probe)
url = self.request.route_url('tempmon.probes.view', uuid=probe.uuid) url = self.request.route_url('tempmon.probes.view', uuid=probe.uuid)
items.append(HTML.tag('li', c=tags.link_to(text, url))) items.append(HTML.tag('li', c=[tags.link_to(text, url)]))
return HTML.tag('ul', c=items) return HTML.tag('ul', c=items)
def delete_instance(self, client): def delete_instance(self, client):