fix contid length
This commit is contained in:
@ -45,7 +45,7 @@ def add(testnet, count=1, floodfill=False):
|
||||
|
||||
for x in range(count):
|
||||
cid = testnet.run_i2pd(args)
|
||||
print(cid[:11])
|
||||
print(cid[:12])
|
||||
|
||||
print("*** Added {} nodes".format(count))
|
||||
|
||||
|
@ -17,7 +17,7 @@ class I2pd(object):
|
||||
"""i2pd node object"""
|
||||
def __init__(self, container, netname):
|
||||
container.reload()
|
||||
self.id = container.id[:11]
|
||||
self.id = container.id[:12]
|
||||
self.container = container
|
||||
self.netname = netname
|
||||
self.ip = container.attrs['NetworkSettings']['Networks'][
|
||||
|
Reference in New Issue
Block a user