fix wiktionary quoting

This commit is contained in:
mutantmonkey
2011-09-29 19:41:18 -04:00
parent 60660c1755
commit 0f62f9ceae

View File

@@ -23,7 +23,7 @@ def text(html):
return text return text
def wiktionary(word): def wiktionary(word):
bytes = web.get(uri % web.urllib.quote(word)) bytes = web.get(uri % web.quote(word))
bytes = r_ul.sub('', bytes) bytes = r_ul.sub('', bytes)
mode = None mode = None