@cherrypy.expose
@cherrypy.tools.mako(filename="/unauth.mako")
def index(self):
- d = dict(simple=True)
- if os.path.exists("/etc/invirt/message"):
- f = open('/etc/invirt/message')
- d['serviceMessage']= f.read()
- return d
+ return dict(simple=True)
class InvirtWeb(View):
def __init__(self):