summaryrefslogtreecommitdiffstats
path: root/lite-webui.py
diff options
context:
space:
mode:
Diffstat (limited to 'lite-webui.py')
-rwxr-xr-xlite-webui.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/lite-webui.py b/lite-webui.py
index 985a838b0..c910f83d1 100755
--- a/lite-webui.py
+++ b/lite-webui.py
@@ -19,7 +19,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
-A web-UI test server using cherrypy.
+In-tree Web UI using cherrypy.
"""
from cherrypy import expose, config, quickstart
@@ -41,7 +41,5 @@ class root(object):
setattr(self, cmd.name, ctr)
-
-
-
-quickstart(root())
+if __name__ == '__main__'
+ quickstart(root())