Fix local deatil

main
jhengazuki 6 months ago
parent 818dda868e
commit e451616ac5
  1. 5
      app/src/main/java/com/github/catvod/spider/Local.java
  2. 2
      jar/custom_spider.jar.md5

@ -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));
}
}

@ -1 +1 @@
bc0b643f8920201b9d08f2e605f51acd
e7eabe878887922e3e2e6b011caa80fc

Loading…
Cancel
Save