From e76d1bdf4c03df6a7bb71d7dc7b7528bfdc241bc Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Thu, 28 Apr 2011 17:13:49 +0400 Subject: [PATCH] [viper] now_listen. remove rstrip and whitespace at the end os string --- now_listen/now_listen.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/now_listen/now_listen.py b/now_listen/now_listen.py index fa1c530..a129039 100644 --- a/now_listen/now_listen.py +++ b/now_listen/now_listen.py @@ -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()