From b906c3dd519918a99a890d795f8e59e64993881d Mon Sep 17 00:00:00 2001 From: Jerry Date: Sat, 2 May 2020 16:07:22 +0800 Subject: [PATCH] people -> entity --- scripts/roa.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/roa.py b/scripts/roa.py index 6e331ac..075b3b5 100755 --- a/scripts/roa.py +++ b/scripts/roa.py @@ -44,7 +44,7 @@ def shell2dict(shellscript): return fc cwd = Path() -assert not [d for d in ("asn", "route", "route6", "node", "people") if not (cwd / d).is_dir()] +assert not [d for d in ("asn", "route", "route6", "node", "entity") if not (cwd / d).is_dir()] def str2asn(s_asn): s_asn = s_asn.strip().lower() @@ -55,7 +55,7 @@ def str2asn(s_asn): def neoneo_get_people(): people = dict() - for f in (cwd / "people").iterdir(): + for f in (cwd / "entity").iterdir(): try: if not f.is_file(): continue