pull/32/head
kunfei 5 years ago
parent cd68df46b5
commit da594a27b0
  1. 2
      app/src/main/java/io/legado/app/model/webbook/SourceDebug.kt

@ -19,8 +19,8 @@ class SourceDebug(private val webBook: WebBook, callback: Callback) {
private val startTime: Long = System.currentTimeMillis()
fun printLog(source: String?, state: Int, msg: String, print: Boolean = true, isHtml: Boolean = false) {
if (debugSource != source) return
if (!print) return
if (debugSource != source) return
var printMsg = msg
if (isHtml) {
printMsg = printMsg.htmlFormat()

Loading…
Cancel
Save