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