From 04e92485fca3f7ceeda2297be448aa7cf9ab02c8 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 22 Nov 2007 12:58:39 +0000 Subject: [PATCH] [shtrom] fix var names when sending song in status message. fixes #3558 --- src/roster_window.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 33f54f50d..782ca1527 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -3740,8 +3740,9 @@ class RosterWindow: song_offset = current_status_message.find('♪') if song_offset >= 0: current_status_message = current_status_message[0:song_offset] - status_message = current_status_message.strip() + '\n' + status_message - self.send_status(account, current_show, status_message.strip()) + current_status_message = current_status_message.strip() + '\n' + \ + status_message + self.send_status(account, current_show, current_status_message.strip()) def update_status_combobox(self): # table to change index in connection.connected to index in combobox