diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt index 8ba053f40..23030393c 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt @@ -49,7 +49,7 @@ class AnalyzeByXPath { } } if (rules.size == 1) { - return jxDocument!!.selN(rules[0]) + return jxDocument?.selN(rules[0]) } else { val results = ArrayList>() for (rl in rules) {