diff --git a/app/src/main/java/io/legado/app/model/webBook/BookInfo.kt b/app/src/main/java/io/legado/app/model/webBook/BookInfo.kt index 38fd6e3e0..877fcf41b 100644 --- a/app/src/main/java/io/legado/app/model/webBook/BookInfo.kt +++ b/app/src/main/java/io/legado/app/model/webBook/BookInfo.kt @@ -44,7 +44,7 @@ object BookInfo { } Debug.log(bookSource.bookSourceUrl, "┌获取作者") BookHelp.formatBookAuthor(analyzeRule.getString(infoRule.author)).let { - if (it.isNotEmpty() && (mCanReName || book.name.isEmpty())) { + if (it.isNotEmpty() && (mCanReName || book.author.isEmpty())) { book.author = it } Debug.log(bookSource.bookSourceUrl, "└${it}")