From 1e4933624a04fb3bb186762327518b9640b7d1a5 Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Sat, 30 Oct 2010 18:09:22 +0000 Subject: [PATCH] py-i2phosts-injector: use config value for "approved" --- py-i2phosts-injector | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-i2phosts-injector b/py-i2phosts-injector index 509aea5..934916f 100755 --- a/py-i2phosts-injector +++ b/py-i2phosts-injector @@ -44,7 +44,7 @@ from web.lib.validation import validate_hostname from web.lib.validation import validate_b64hash # determine approve hosts or not -if args.approve: +if args.approve or config.as_bool('approve'): approved = True else: approved = False