mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-25 23:20:41 +08:00
people -> entity
This commit is contained in:
parent
f91ca24d8b
commit
b906c3dd51
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ def shell2dict(shellscript):
|
||||||
return fc
|
return fc
|
||||||
|
|
||||||
cwd = Path()
|
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):
|
def str2asn(s_asn):
|
||||||
s_asn = s_asn.strip().lower()
|
s_asn = s_asn.strip().lower()
|
||||||
|
@ -55,7 +55,7 @@ def str2asn(s_asn):
|
||||||
|
|
||||||
def neoneo_get_people():
|
def neoneo_get_people():
|
||||||
people = dict()
|
people = dict()
|
||||||
for f in (cwd / "people").iterdir():
|
for f in (cwd / "entity").iterdir():
|
||||||
try:
|
try:
|
||||||
if not f.is_file():
|
if not f.is_file():
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue