Browse Source

py-i2phosts-injector: use config value for "approved"

pull/1/head
Hidden Z 14 years ago
parent
commit
1e4933624a
  1. 2
      py-i2phosts-injector

2
py-i2phosts-injector

@ -44,7 +44,7 @@ from web.lib.validation import validate_hostname @@ -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

Loading…
Cancel
Save