1
0
Fork 0
mirror of https://github.com/koniu/recoll-webui.git synced 2025-10-05 19:42:05 +02:00

py: fix setting of cwd again

This commit is contained in:
koniu 2013-10-08 12:55:09 +02:00
parent 8e9177a465
commit 7da8ea858b
3 changed files with 11 additions and 12 deletions

View file

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