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
+1 -1
View File
@@ -35,7 +35,7 @@ class CPLog(object):
pass
from couchpotato.environment import Env
if not Env.setting('development'):
if not Env.get('dev'):
for replace in self.replace_private:
msg = re.sub('(%s=)[^\&]+' % replace, '%s=xxx' % replace, msg)