PluginDownloader: Display plugin description on one line.

This commit is contained in:
Valentin Lorentz 2013-11-10 17:46:30 +01:00
parent e65a722b2f
commit fed2bcf9d3

View File

@ -337,9 +337,7 @@ class PluginDownloader(callbacks.Plugin):
irc.error(_('This plugin has no description.'))
else:
info = info.split('\n\n')[0]
for line in info.split('\n'):
if line != '':
irc.reply(line)
irc.reply(info.replace('\n', ' '))
info = wrap(info, ['something', optional('something')])