Mercurial > code > home > repos > homeauto
diff service/reasoning/reasoning.py @ 985:7e99f05c21cd
reasoning index page to html
Ignore-this: 8e97a456bdf4e035ecdfe426a38e2741
darcs-hash:20150514083219-312f9-704acb2a99e762da68bffe3ef0bc0d6e81c38259
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 14 May 2015 01:32:19 -0700 |
parents | 5da9200418db |
children | 5ad229334a88 |
line wrap: on
line diff
--- a/service/reasoning/reasoning.py Thu May 14 01:30:00 2015 -0700 +++ b/service/reasoning/reasoning.py Thu May 14 01:32:19 2015 -0700 @@ -417,7 +417,7 @@ self.finish("last poll was %s sec ago. last error: %s" % (ago, self.settings.reasoning.lastError)) return - self.set_header("Content-Type", "application/xhtml+xml") + self.set_header("Content-Type", "text/html") self.write(open('index.html').read()) class ImmediateUpdate(cyclone.web.RequestHandler):