Put things like they were
This commit is contained in:
parent
24c5da72f6
commit
acc389082b
2 changed files with 5 additions and 2 deletions
|
@ -9,4 +9,8 @@ from forms import *
|
||||||
from utils import *
|
from utils import *
|
||||||
from views import *
|
from views import *
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
if app.debug:
|
||||||
|
app.run(host='0.0.0.0', port=80)
|
||||||
|
else:
|
||||||
app.run()
|
app.run()
|
||||||
|
|
|
@ -7,7 +7,6 @@ INTERP = os.path.expanduser("~/env/bin/python")
|
||||||
if sys.executable != INTERP:
|
if sys.executable != INTERP:
|
||||||
os.execl(INTERP, INTERP, *sys.argv)
|
os.execl(INTERP, INTERP, *sys.argv)
|
||||||
|
|
||||||
sys.path.append(os.path.join(os.getcwd(), "app"))
|
|
||||||
sys.path.append(os.getcwd())
|
sys.path.append(os.getcwd())
|
||||||
|
|
||||||
from james import app as application
|
from james import app as application
|
Loading…
Reference in a new issue