summaryrefslogtreecommitdiffstats
path: root/modules/wiktionary.py
diff options
context:
space:
mode:
authorSean B. Palmer <http://inamidst.com/sbp/>2009-06-07 09:57:41 +0100
committerSean B. Palmer <http://inamidst.com/sbp/>2009-06-07 09:57:41 +0100
commitaafac55f7acfb8393e7ecde547f4df03804ae487 (patch)
treeadecc5db7235b62965177b2b8df40ce30c57937b /modules/wiktionary.py
parenta06ea9e4ba89db0163fa344754fad44eccc993ee (diff)
downloadbot-aafac55f7acfb8393e7ecde547f4df03804ae487.tar.gz
bot-aafac55f7acfb8393e7ecde547f4df03804ae487.tar.bz2
bot-aafac55f7acfb8393e7ecde547f4df03804ae487.zip
Added config option for specifying services to use.
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