From b0374ebd8964aebc2c34603fe8972cca5d303276 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 10 Sep 2009 09:00:14 +0200 Subject: Lyrics: fix saving unicode lyrics. --- nephilim/plugins/Lyrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nephilim/plugins/Lyrics.py b/nephilim/plugins/Lyrics.py index fe5516e..08cc10d 100644 --- a/nephilim/plugins/Lyrics.py +++ b/nephilim/plugins/Lyrics.py @@ -72,7 +72,7 @@ class LyricsWidget(QtGui.QWidget): self.layout().addWidget(self.__text_view, 1, 1) def __save_lyrics(self): - self.plugin.save_lyrics_file(unicode(self.__text_view.toPlainText()).encode('utf-8')) + self.plugin.save_lyrics_file(self.__text_view.toPlainText().encode('utf-8')) def __toggle_editable(self, val): self.__text_view.setReadOnly(not val) -- cgit v1.2.3