Added note on zeroname_updater.py
Comment pointing out a data/names.json file has to exist in the site for it to work.
This commit is contained in:
parent
85313c2186
commit
6155899893
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ def processNameOp(domain, value):
|
|||
print "Waiting for master update arrive"
|
||||
time.sleep(30) # Wait 30 sec to allow master updater
|
||||
|
||||
#Note: Requires the file data/names.json to exist and contain "{}" to work
|
||||
names_raw = open(names_path, "rb").read()
|
||||
names = json.loads(names_raw)
|
||||
for subdomain, address in data["zeronet"].items():
|
||||
|
|
Loading…
Reference in a new issue