pull/32/head
kunfei 5 years ago
parent 66cdd7db85
commit c22e9c2cc5
  1. 4
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -483,9 +483,7 @@ class AnalyzeRule(private var book: BaseBook? = null) {
}
fun put(key: String, value: String): String {
if (book != null) {
book!!.putVariable(key, value)
}
book?.putVariable(key, value)
return value
}

Loading…
Cancel
Save