mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-02-02 09:55:52 +00:00
injector: add new hosts with external=True
This commit is contained in:
parent
f2d7647b59
commit
95f38f5ac0
2
injector
2
injector
@ -31,6 +31,6 @@ for line in f:
|
|||||||
print 'Adding %s' % entry[0]
|
print 'Adding %s' % entry[0]
|
||||||
host = i2phost(name=entry[0], b64hash=entry[1],
|
host = i2phost(name=entry[0], b64hash=entry[1],
|
||||||
description='Auto-added from external hosts.txt',
|
description='Auto-added from external hosts.txt',
|
||||||
activated=True)
|
activated=True, external=True)
|
||||||
host.save()
|
host.save()
|
||||||
f.close()
|
f.close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user