summaryrefslogtreecommitdiffstats
path: root/modules/wiktionary.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/wiktionary.py')
-rwxr-xr-xmodules/wiktionary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/wiktionary.py b/modules/wiktionary.py
index ede60d0..c8f665e 100755
--- a/modules/wiktionary.py
+++ b/modules/wiktionary.py
@@ -23,7 +23,7 @@ def text(html):
return text
def wiktionary(word):
- bytes = web.get(uri % word)
+ bytes = web.get(uri % web.urllib.quote(word.encode('utf-8')))
bytes = r_ul.sub('', bytes)
mode = None