Changeset 2810 for trunk/packages/invirt-web/code/main.py
- Timestamp:
- Dec 30, 2009, 3:18:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/main.py
r2737 r2810 52 52 @cherrypy.tools.mako(filename="/unauth.mako") 53 53 def index(self): 54 return {'simple': True} 54 if(os.path.exists("/etc/invirt/message")): 55 f = open('/etc/invirt/message') 56 message = f.read() 57 else:message = None 58 d = dict(simple = True, serviceMessage = message) 59 return d 60 55 61 56 62 class InvirtWeb(View):
Note: See TracChangeset
for help on using the changeset viewer.