12
13
14
15
16
17
18
19
|
sys.path = [path]+[p for p in sys.path if not p==path]
# import gluon.import_all ##### This should be uncommented for py2exe.py
import gluon.widget
# Start Web2py and Web2py cron service!
gluon.widget.start(cron=True)
|
>
|
>
|
12
13
14
15
16
17
18
19
20
21
|
sys.path = [path]+[p for p in sys.path if not p==path]
# import gluon.import_all ##### This should be uncommented for py2exe.py
import gluon.widget
# Start Web2py and Web2py cron service!
if __name__ == '__main__':
gluon.widget.start(cron=True)
|