mirror of https://gitlab.com/bashrc2/epicyon
Avoid duplicates in alternate addresses
parent
7b91026802
commit
36e9bd1628
|
@ -4335,7 +4335,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
for altActor in newAlsoKnownAs:
|
for altActor in newAlsoKnownAs:
|
||||||
altActor = altActor.strip()
|
altActor = altActor.strip()
|
||||||
if '://' in altActor and '.' in altActor:
|
if '://' in altActor and '.' in altActor:
|
||||||
alsoKnownAs.append(altActor)
|
if altActor not in alsoKnownAs:
|
||||||
|
alsoKnownAs.append(altActor)
|
||||||
actorJson['alsoKnownAs'] = alsoKnownAs
|
actorJson['alsoKnownAs'] = alsoKnownAs
|
||||||
actorChanged = True
|
actorChanged = True
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue