@@ -14,6 +14,8 @@ # 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) +if __name__ == '__main__': + gluon.widget.start(cron=True) +