pull/32/head
kunfei 5 years ago
parent 8ffe8adb0f
commit c0f6a4c972
  1. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -260,7 +260,7 @@ class AnalyzeRule(private var book: BaseBook? = null) {
while (putMatcher.find()) { while (putMatcher.find()) {
ruleStr = ruleStr.replace(putMatcher.group(), "") ruleStr = ruleStr.replace(putMatcher.group(), "")
val map = GSON.fromJsonObject<Map<String, String>>(putMatcher.group(1)) val map = GSON.fromJsonObject<Map<String, String>>(putMatcher.group(1))
putRule(map) map?.let { putRule(map) }
} }
return ruleStr return ruleStr
} }

Loading…
Cancel
Save