diff --git a/examples/python/main.py b/examples/python/main.py
index 6cfeeff..e44e954 100644
--- a/examples/python/main.py
+++ b/examples/python/main.py
@@ -1,10 +1,14 @@
import os
-from bottle import app, route
+from bottle import app, get
-@route("/")
+@get("/")
def default():
table = ['
']
for k, v in os.environ.iteritems():
table.append('%s | %s |
' % (k, v))
table.append('
')
return '\n'.join(table)
+
+
+if __name__ == '__main__':
+ run(port=int(os.environ.get("PORT",8080)))
\ No newline at end of file
diff --git a/uwsgi-piku.dist b/uwsgi-piku.dist
index 3a23174..4dc226c 100644
--- a/uwsgi-piku.dist
+++ b/uwsgi-piku.dist
@@ -58,7 +58,7 @@ do_start()
set -o noglob
local START_OPTS=" \
--chdir $PIKU_ROOT \
- --emperor $ENABLED_CONFIGS_DIR/*.ini \
+ --emperor $ENABLED_CONFIGS_DIR \
--pidfile $PIDFILE \
--daemonize $RUN/$VERSION-emperor.log \
--enable-threads