mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-10 11:25:04 -05:00
FAIL *facepalm*
This commit is contained in:
parent
d4624fb47a
commit
9ab1f33ed1
@ -320,6 +320,10 @@ public final class FileUtilities {
|
||||
public static String getName(File file) {
|
||||
if (file == null)
|
||||
return null;
|
||||
|
||||
if (file.isDirectory())
|
||||
return file.getName();
|
||||
|
||||
if (file.getName().isEmpty() || UNC_PREFIX.equals(file.getParent()))
|
||||
return getFolderName(file);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user