Browse Source

injector: add new hosts with external=True

pull/1/head
Hidden Z 14 years ago
parent
commit
95f38f5ac0
  1. 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…
Cancel
Save