mirror of
https://github.com/gotson/komga.git
synced 2025-01-08 11:47:47 +08:00
refactor(komga): use lazy logging statement
This commit is contained in:
parent
38fcde9ee7
commit
479aff2feb
@ -180,7 +180,7 @@ class BookConverter(
|
|||||||
|
|
||||||
if (book.path.extension.lowercase() == "epub" && media.mediaType == MediaType.ZIP.type) {
|
if (book.path.extension.lowercase() == "epub" && media.mediaType == MediaType.ZIP.type) {
|
||||||
skippedRepairs += book.id
|
skippedRepairs += book.id
|
||||||
logger.info("EPUB file detected as zip should not be repaired, skipping: ${book.path}")
|
logger.info { "EPUB file detected as zip should not be repaired, skipping: ${book.path}" }
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user