1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-22 12:00:40 +08:00

people -> entity

This commit is contained in:
JerryXiao 2020-05-02 16:07:22 +08:00
parent f91ca24d8b
commit b906c3dd51
Signed by: Jerry
GPG key ID: 9D9CE43650FF2BAA

View file

@ -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