From c0f6a4c9725d15ae369139ec6ceeb506ef9cab57 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 29 Jun 2019 01:08:45 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt index 5693e4d78..19326cbf6 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt +++ b/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()) { ruleStr = ruleStr.replace(putMatcher.group(), "") val map = GSON.fromJsonObject>(putMatcher.group(1)) - putRule(map) + map?.let { putRule(map) } } return ruleStr }