Switch to side-by-side view
--- a/webui-wsgi.py +++ b/webui-wsgi.py @@ -1,8 +1,7 @@ -#!env python +#!/usr/bin/env python import os -import bottle +# change to webui's directory and set up +os.chdir(os.path.dirname(__file__)) import webui - -os.chdir(os.path.dirname(__file__)) -application = bottle.default_app() +application = webui.bottle.default_app() # vim: foldmethod=marker:filetype=python:textwidth=80:ts=4:et