From 532702483c6d950c71a0595eaa206f1f4aa64bef Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 3 Feb 2012 21:33:45 +0100 Subject: [PATCH] Only use reloader on debug and development --- couchpotato/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/runner.py b/couchpotato/runner.py index 72d3592d..a331d93b 100644 --- a/couchpotato/runner.py +++ b/couchpotato/runner.py @@ -169,7 +169,7 @@ def runCouchPotato(options, base_path, args, desktop = 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 Env.get('desktop') and not options.daemon + reloader = debug is True and Env.setting('development') and not Env.get('desktop') and not options.daemon # Basic config app.secret_key = api_key