try+1
[fanfix.git] / src / be / nikiroo / fanfix / supported / InfoReader.java
index 369b32454ac95c2433122c9d9dcd422bcfb7157f..817345e028fce27bf6f53f397b3eaeb4a55ca545 100644 (file)
@@ -108,9 +108,8 @@ public class InfoReader {
                int pos = name.lastIndexOf(".");
                if (cover == null && pos > 0) {
                        name = name.substring(0, pos);
-                       basefile = new File(basefile.getParent(), basefile.getName());
+                       basefile = new File(basefile.getParent(), name);
 
-System.out.println(">>> " + basefile);
                        cover = BasicSupportHelper.getImage(null, sourceInfoFile,
                                        basefile.getAbsolutePath() + ext);
                }