[gnome-music/wip/merge: 158/343] albumArtCache: temporary fix callback



commit 8fd0386082c7e0f1063ccb8ebc3a34b244704552
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Tue Jul 16 17:03:31 2013 +0200

    albumArtCache: temporary fix callback

 gnomemusic/albumArtCache.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/albumArtCache.py b/gnomemusic/albumArtCache.py
index 5411025..2a8a725 100644
--- a/gnomemusic/albumArtCache.py
+++ b/gnomemusic/albumArtCache.py
@@ -115,7 +115,7 @@ class AlbumArtCache:
             if icon_format == 'jpeg':
                 self._try_load(size, artist, album, 0, 'png', callback)
             else:
-                callback(None)
+                callback(None, None)
             return
 
         key = self._keybuilder_funcs[i].__call__(artist, album)


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