Put things like they were

This commit is contained in:
James 2015-04-02 12:59:55 +02:00
parent 24c5da72f6
commit acc389082b
2 changed files with 5 additions and 2 deletions

View file

@ -9,4 +9,8 @@ from forms import *
from utils import *
from views import *
app.run()
if __name__ == '__main__':
if app.debug:
app.run(host='0.0.0.0', port=80)
else:
app.run()

View file

@ -7,7 +7,6 @@ INTERP = os.path.expanduser("~/env/bin/python")
if sys.executable != INTERP:
os.execl(INTERP, INTERP, *sys.argv)
sys.path.append(os.path.join(os.getcwd(), "app"))
sys.path.append(os.getcwd())
from james import app as application