From 974530b56f3cd3bd7034a8c874e4da5b279c78e2 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 21 Nov 2019 14:16:13 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/model/WebBook.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/model/WebBook.kt b/app/src/main/java/io/legado/app/model/WebBook.kt index d8bce710f..1d375498f 100644 --- a/app/src/main/java/io/legado/app/model/WebBook.kt +++ b/app/src/main/java/io/legado/app/model/WebBook.kt @@ -138,6 +138,7 @@ class WebBook(val bookSource: BookSource) { ): Coroutine { return Coroutine.async(scope, context) { if (bookSource.getContentRule().content.isNullOrEmpty()) { + Debug.log(sourceUrl, "内容规则为空,直接返回目录Url:${bookChapter.url}") return@async bookChapter.url } val body = if (bookChapter.url == book.bookUrl && !book.tocHtml.isNullOrEmpty()) {