[viper] now_listen. remove rstrip and whitespace at the end os string

This commit is contained in:
Denis Fomin
2011-04-28 17:13:49 +04:00
parent 4c373d4e1b
commit e76d1bdf4c

View File

@@ -119,9 +119,8 @@ class Base(object):
'%artist', self.plugin.artist).replace(
'%title', self.plugin.title).replace('%album',self.plugin.source)
text = tune_string.rstrip() + ' '
message_buffer = self.chat_control.msg_textview.get_buffer()
message_buffer.insert_at_cursor(text)
message_buffer.insert_at_cursor(tune_string)
self.chat_control.msg_textview.grab_focus()