mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-08-27 06:02:30 +00:00
py-i2phosts-injector: by default add hosts as NOT activated
This commit is contained in:
parent
6a844c42f0
commit
376c9bb80b
@ -57,7 +57,7 @@ for line in f:
|
|||||||
print 'Adding %s' % hostname
|
print 'Adding %s' % hostname
|
||||||
host = i2phost(name=hostname, b64hash=base64,
|
host = i2phost(name=hostname, b64hash=base64,
|
||||||
description=args.description,
|
description=args.description,
|
||||||
activated=True, external=True)
|
activated=False, external=True)
|
||||||
host.save()
|
host.save()
|
||||||
else:
|
else:
|
||||||
if not args.supress:
|
if not args.supress:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user