From 9ac581ab3a604e678e693fc650bffe96f7edd0d0 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Fri, 10 Aug 2018 19:43:40 +0200 Subject: [PATCH] try+1 --- src/be/nikiroo/fanfix/supported/InfoReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.27.0