Update Path.java

pull/149/head
FongMi 3 years ago
parent 9e7acb6b03
commit acee4f6b0d
  1. 2
      catvod/src/main/java/com/github/catvod/utils/Path.java

@ -30,7 +30,7 @@ public class Path {
}
public static boolean exists(String path) {
return new File(path).exists();
return new File(path.replace("file://", "")).exists();
}
public static File root() {

Loading…
Cancel
Save