1
0
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:
Hidden Z 2010-10-14 18:32:03 +00:00
parent f2d7647b59
commit 95f38f5ac0

View File

@ -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()