From 61558998933f1bf744f7ad89ddedf29c7022711c Mon Sep 17 00:00:00 2001 From: Idealcoder Date: Wed, 17 Jun 2015 21:11:57 +0100 Subject: [PATCH] Added note on zeroname_updater.py Comment pointing out a data/names.json file has to exist in the site for it to work. --- plugins/Zeroname/updater/zeroname_updater.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Zeroname/updater/zeroname_updater.py b/plugins/Zeroname/updater/zeroname_updater.py index 165e885f..1434a1d5 100644 --- a/plugins/Zeroname/updater/zeroname_updater.py +++ b/plugins/Zeroname/updater/zeroname_updater.py @@ -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():