periodical commit

This commit is contained in:
Miroslav Stampar
2010-05-21 09:35:36 +00:00
parent 9c1d82c9f7
commit 68e13c3872
6 changed files with 113 additions and 7 deletions

View File

@@ -39,6 +39,7 @@ except ImportError, _:
from lib.controller.controller import start
from lib.core.common import banner
from lib.core.common import profile
from lib.core.common import setPaths
from lib.core.common import weAreFrozen
from lib.core.data import conf
@@ -75,8 +76,10 @@ def main():
try:
init(cmdLineOptions)
start()
if not conf.profile:
start()
else:
profile()
except exceptionsTuple, e:
e = str(e)
logger.error(e)