[gnome-music] Revert "Don't recalculate cachedir"



commit 45f19ee00d31de6842bd5505a40588d1d56dec5f
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Aug 5 13:39:28 2013 +0200

    Revert "Don't recalculate cachedir"
    
    This reverts commit 017fc7e08dae8f6cededf514de64e70eb7dbe497.

 gnomemusic/albumArtCache.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/albumArtCache.py b/gnomemusic/albumArtCache.py
index ff919c6..75d8350 100644
--- a/gnomemusic/albumArtCache.py
+++ b/gnomemusic/albumArtCache.py
@@ -183,8 +183,6 @@ class AlbumArtCache:
     invalid_chars = re.compile('[()<>\[\]{}_! #$^&*+=|\\\/"\'?~]', re.DOTALL)
     multiple_spaces = re.compile('\t|\s+', re.DOTALL)
 
-    cacheDir = os.path.join(GLib.get_user_cache_dir(), "media-art")
-
     @classmethod
     def get_default(self):
         if self.instance:
@@ -217,7 +215,7 @@ class AlbumArtCache:
     def __init__(self):
         self.logLookupErrors = False
         self.requested_uris = {}
-        self
+        self.cacheDir = os.path.join(GLib.get_user_cache_dir(), "media-art")
 
         self._keybuilder_funcs = [
             lambda artist, album:


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