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
from web.lib.validation import validate_b64hash from web.lib.validation import validate_b64hash
# determine approve hosts or not # determine approve hosts or not
if args.approve: if args.approve or config.as_bool('approve'):
approved = True approved = True
else: else:
approved = False approved = False

Loading…
Cancel
Save