Browse Source

py-i2phosts-fetcher: call injector with '-a'

pull/1/head
Hidden Z 14 years ago
parent
commit
3f35ae2011
  1. 3
      py-i2phosts-fetcher

3
py-i2phosts-fetcher

@ -68,7 +68,8 @@ for source in sources: @@ -68,7 +68,8 @@ for source in sources:
# form commnd-line for invoke injector
path = os.path.dirname(sys.argv[0])
print 'adding hosts from: %s' % source_hostname
sp_args = [path + '/py-i2phosts-injector', '-s', '-f', filename, '-d', 'Auto-added from ' + source_hostname]
sp_args = [path + '/py-i2phosts-injector', '-s', '-a', '-f', filename, '-d',
'Auto-added from ' + source_hostname]
p = subprocess.Popen(sp_args, shell=False, stdin=None,
stdout=None, stderr=subprocess.STDOUT)
p.wait()

Loading…
Cancel
Save