Links with | now parsed
This commit is contained in:
parent
52e6fc92c6
commit
319800e0ca
4
wani.py
4
wani.py
|
@ -349,6 +349,10 @@ class Word:
|
||||||
self.links[link].append(to)
|
self.links[link].append(to)
|
||||||
|
|
||||||
def get_links(self, link):
|
def get_links(self, link):
|
||||||
|
if link not in self.links and "|" in link:
|
||||||
|
for l in link.split('|'):
|
||||||
|
self.links[link].extend(self.links[l])
|
||||||
|
|
||||||
return self.links[link]
|
return self.links[link]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user