projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved all code for service messages to unauth.make
[invirt/packages/invirt-web.git]
/
code
/
main.py
diff --git
a/code/main.py
b/code/main.py
index
b05906e
..
ecf0305
100755
(executable)
--- a/
code/main.py
+++ b/
code/main.py
@@
-51,13
+51,7
@@
class InvirtUnauthWeb(View):
@cherrypy.expose
@cherrypy.tools.mako(filename="/unauth.mako")
def index(self):
@cherrypy.expose
@cherrypy.tools.mako(filename="/unauth.mako")
def index(self):
- if(os.path.exists("/etc/invirt/message")):
- f = open('/etc/invirt/message')
- message = f.read()
- else:message = None
- d = dict(simple = True, serviceMessage = message)
- return d
-
+ return dict(simple=True)
class InvirtWeb(View):
def __init__(self):
class InvirtWeb(View):
def __init__(self):