[gnome-music/wip/merge: 251/343] fix pyflakes error



commit ca584e97f5d6689703b5963420fc63fe643f7d59
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Thu Jul 18 12:08:43 2013 +0200

    fix pyflakes error

 gnomemusic/widgets.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index 4a0af3e..9d40860 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -110,7 +110,7 @@ class AlbumWidget(Gtk.EventBox):
         if(self.model.get_value(iter, 7) != ERROR_ICON_NAME):
             if (self.iterToClean and self.player.playlistId == self.album):
                 item = self.model.get_value(self.iterToClean, 5)
-                title = AlbumArtCache.getMediaTitle(media)
+                title = AlbumArtCache.getMediaTitle(item)
                 self.model.set_value(self.iterToClean, 0, title)
                 #Hide now playing icon
                 self.model.set_value(self.iterToClean, 6, False)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]