Fix local deatil
This commit is contained in:
parent
1fcca306a0
commit
ca882458ac
|
|
@ -71,8 +71,9 @@ public class Local extends Spider {
|
|||
return Result.string(create(name, url));
|
||||
} else {
|
||||
File file = new File(ids.get(0));
|
||||
List<File> files = Path.list(file.getParentFile());
|
||||
return Result.string(create(file, files));
|
||||
File parent = file.getParentFile();
|
||||
List<File> files = Path.list(parent);
|
||||
return Result.string(create(parent != null ? parent : file, files));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
bc0b643f8920201b9d08f2e605f51acd
|
||||
e7eabe878887922e3e2e6b011caa80fc
|
||||
|
|
|
|||
Loading…
Reference in New Issue