Update plugins/urban.py

This commit is contained in:
Luke Rogers 2012-07-30 10:37:50 +12:00
parent 8c2c9c5530
commit b41e659dbd

View file

@ -33,7 +33,7 @@ def urban(inp):
try: try:
out = "[%i/%i] %s: %s" % \ out = "[%i/%i] %s: %s" % \
(id, len(defs), defs[id - 1]['word'], (id, len(defs), defs[id - 1]['word'],
defs[id - 1]['definition']) defs[id - 1]['definition'].replace('\r\n',' '))
except IndexError: except IndexError:
return 'Not found.' return 'Not found.'