From: Niki Roo Date: Fri, 10 Aug 2018 17:43:40 +0000 (+0200) Subject: try+1 X-Git-Tag: fanfix-swing-0.0.1~12^2~317 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=9ac581ab3a604e678e693fc650bffe96f7edd0d0;p=fanfix-swing.git try+1 --- diff --git a/src/be/nikiroo/fanfix/supported/InfoReader.java b/src/be/nikiroo/fanfix/supported/InfoReader.java index 369b3245..f589e6f3 100644 --- a/src/be/nikiroo/fanfix/supported/InfoReader.java +++ b/src/be/nikiroo/fanfix/supported/InfoReader.java @@ -108,7 +108,7 @@ 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,