mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-25 17:36:55 +01:00
Fix the h3 filename
This commit is contained in:
parent
8fcadea631
commit
cd56a50d3f
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user