Optimized runner script

This commit is contained in:
Ruud
2012-02-12 17:59:44 +01:00
parent a42ff5e038
commit 4e2b511c06
8 changed files with 18 additions and 17 deletions
+3 -1
View File
@@ -15,7 +15,7 @@ sys.path.insert(0, os.path.join(base_path, 'libs'))
class Loader(object):
do_restart = True
do_restart = False
def __init__(self):
@@ -50,6 +50,8 @@ class Loader(object):
try:
from couchpotato.runner import runCouchPotato
runCouchPotato(self.options, base_path, sys.argv[1:])
except KeyboardInterrupt:
pass
except Exception, e:
self.log.critical(e)