summaryrefslogtreecommitdiffstats
path: root/modules/dict.py
diff options
context:
space:
mode:
authorSean B. Palmer <http://inamidst.com/sbp/>2008-05-15 10:44:48 +0100
committerSean B. Palmer <http://inamidst.com/sbp/>2008-05-15 10:44:48 +0100
commitd7f8faabe8f92b06adb43106b667c439a1bb5575 (patch)
treee11d8bbbd63ba491ec453cfd00f9726d95ac7edf /modules/dict.py
parent986953131d1e399a9b277984a2234cd0c5f7656c (diff)
downloadbot-d7f8faabe8f92b06adb43106b667c439a1bb5575.tar.gz
bot-d7f8faabe8f92b06adb43106b667c439a1bb5575.tar.bz2
bot-d7f8faabe8f92b06adb43106b667c439a1bb5575.zip
Updated the translate module, the web interface having changed.
Diffstat (limited to 'modules/dict.py')
-rwxr-xr-xmodules/dict.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dict.py b/modules/dict.py
index 61fcee9..df9025d 100755
--- a/modules/dict.py
+++ b/modules/dict.py
@@ -109,7 +109,7 @@ def dict(phenny, input):
result = input.group(2).encode('utf-8') + ' - '
for key in sorted(results.keys()):
if results[key]:
- result += key + ' 1. ' + results[key][0]
+ result += (key or '') + ' 1. ' + results[key][0]
if len(results[key]) > 1:
result += ', 2. ' + results[key][1]
result += '; '