Switch to unified view

a/webui-standalone.py b/webui-standalone.py
1
#!/usr/bin/env python
1
#!/usr/bin/env python
2
import bottle
2
import os
3
# change to webui's directory and import
4
os.chdir(os.path.dirname(__file__))
3
import webui
5
import webui
4
6
# set up webui and run in own http server
5
bottle.debug(True)
7
webui.bottle.debug(True)
6
bottle.run(host='localhost', port=8080, reloader=True)
8
webui.bottle.run(host='localhost', port=8080, reloader=False)
7
9
8
# vim: foldmethod=marker:filetype=python:textwidth=80:ts=4:et
10
# vim: foldmethod=marker:filetype=python:textwidth=80:ts=4:et