From fea3629cfe1ba7a0adde7384478675221de467c5 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 8 Jan 2012 21:40:33 +0100 Subject: [PATCH] Daemonize options remove --- couchpotato/runner.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/couchpotato/runner.py b/couchpotato/runner.py index 46fd4836..1c1eab1c 100644 --- a/couchpotato/runner.py +++ b/couchpotato/runner.py @@ -71,7 +71,6 @@ def runCouchPotato(options, base_path, args, handle = None): Env.set('cache_dir', os.path.join(data_dir, 'cache')) Env.set('cache', FileSystemCache(os.path.join(Env.get('cache_dir'), 'python'))) Env.set('console_log', options.console_log) - Env.set('daemonize', options.daemonize) Env.set('quiet', options.quiet) Env.set('binary_port', options.binary_port) Env.set('args', args) @@ -96,7 +95,7 @@ def runCouchPotato(options, base_path, args, handle = None): logger.setLevel(level) # To screen - if (debug or options.console_log) and not options.daemonize and not options.quiet: + if (debug or options.console_log) and not options.quiet: hdlr = logging.StreamHandler(sys.stderr) hdlr.setFormatter(formatter) logger.addHandler(hdlr) @@ -152,7 +151,7 @@ def runCouchPotato(options, base_path, args, handle = None): from couchpotato import app api_key = Env.setting('api_key') url_base = '/' + Env.setting('url_base').lstrip('/') if Env.setting('url_base') else '' - reloader = debug is True and not options.daemonize and not options.binary_port + reloader = debug is True and not options.binary_port # Basic config app.secret_key = api_key