From cd56a50d3fa8151fdd7a0a0096b5a85be339c5e6 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 16 Dec 2018 19:35:27 +0100 Subject: [PATCH] Fix the h3 filename --- src/de/mas/wiiu/jnus/implementations/NUSDataProviderLocal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/mas/wiiu/jnus/implementations/NUSDataProviderLocal.java b/src/de/mas/wiiu/jnus/implementations/NUSDataProviderLocal.java index 9842676..b92cd7c 100644 --- a/src/de/mas/wiiu/jnus/implementations/NUSDataProviderLocal.java +++ b/src/de/mas/wiiu/jnus/implementations/NUSDataProviderLocal.java @@ -59,7 +59,7 @@ public final class NUSDataProviderLocal extends NUSDataProvider { @Override public byte[] getContentH3Hash(Content content) throws IOException { - String h3Filename = String.format("%08X.%s", content.getID(), Settings.H3_EXTENTION); + String h3Filename = String.format("%08X%s", content.getID(), Settings.H3_EXTENTION); File filepath = FileUtils.getFileIgnoringFilenameCases(getLocalPath(), h3Filename); if (filepath == null || !filepath.exists()) { String errormsg = "Couldn't open \"" + getLocalPath() + File.separator + h3Filename + "\", file does not exist";