mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-02-02 01:44:40 +00:00
py-i2phosts-fetcher: don't invoke injector with "-a"
Better let admin to use injector's config for this.
This commit is contained in:
parent
4f98a4febe
commit
d5052d2aa0
@ -108,7 +108,7 @@ for source in all_sources:
|
||||
source.etag = etag
|
||||
# form commnd-line for invoke injector
|
||||
log.info('adding hosts from: %s', source.name)
|
||||
sp_args = ['py-i2phosts-injector', '-s', '-a', '-f', tmpfile, '-d',
|
||||
sp_args = ['py-i2phosts-injector', '-s', '-f', tmpfile, '-d',
|
||||
'Auto-added from ' + source.name]
|
||||
p = subprocess.Popen(sp_args, shell=False, stdin=None,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user