urban: use variable from previous commit in result formatting
This commit is contained in:
parent
fa18d1b3eb
commit
afbcf2e951
|
@ -45,7 +45,7 @@ class Urban(Plugin):
|
|||
# Format and return result
|
||||
return '[{idx}/{len}] \x02{word}\x02: {definition} - {example}'.format(
|
||||
idx=index + 1,
|
||||
len=len(data['list']),
|
||||
len=res_length,
|
||||
word=res['word'],
|
||||
definition=res['definition'].replace('\r\n', ' '),
|
||||
example=res['example'].replace('\r\n', ' '),
|
||||
|
|
Loading…
Reference in New Issue
Block a user