Fix wiktionary display
This commit is contained in:
parent
bead2e31b2
commit
971e3c882d
@ -128,7 +128,6 @@ def wiki(msg):
|
|||||||
if site == "wiktionary.org":
|
if site == "wiktionary.org":
|
||||||
tout = [result for result in s.nextRes if result.find("\x03\x16 :\x03\x16 ") != 0]
|
tout = [result for result in s.nextRes if result.find("\x03\x16 :\x03\x16 ") != 0]
|
||||||
if len(tout) > 0:
|
if len(tout) > 0:
|
||||||
tout.remove(tout[0])
|
|
||||||
defI=1
|
defI=1
|
||||||
for t in tout:
|
for t in tout:
|
||||||
if t.find("# ") == 0:
|
if t.find("# ") == 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user