fix custom author covers
[nikiroo-utils.git] / src / be / nikiroo / fanfix / library / CacheLibrary.java
index 0f283183b620006188040d0e59c84b3025e7f9e7..9432b33f5a0fb0b46fa360e3ca882fe3386bb87e 100644 (file)
@@ -127,18 +127,17 @@ public class CacheLibrary extends BasicLibrary {
 
        @Override
        public Image getAuthorCover(String author) {
-               Image custom = getCustomSourceCover(author);
+               Image custom = getCustomAuthorCover(author);
                if (custom != null) {
                        return custom;
                }
 
-               Image cached = cacheLib.getSourceCover(author);
+               Image cached = cacheLib.getAuthorCover(author);
                if (cached != null) {
                        return cached;
                }
 
-               return lib.getSourceCover(author);
-
+               return lib.getAuthorCover(author);
        }
 
        @Override
@@ -153,7 +152,7 @@ public class CacheLibrary extends BasicLibrary {
 
                return custom;
        }
-       
+
        @Override
        public Image getCustomAuthorCover(String author) {
                Image custom = cacheLib.getCustomAuthorCover(author);