Bug Fix
This commit is contained in:
parent
7b7a7a06e5
commit
7df1312741
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ public class MiscUtils
|
|||
public static File autoAppendFileExtension(String extension, File file)
|
||||
{
|
||||
if (!file.getName().endsWith(extension))
|
||||
file = new File(file.getName() + extension);
|
||||
file = new File(file.getAbsolutePath() + extension);
|
||||
|
||||
return file;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue