This commit is contained in:
Gauthier Roebroeck 2019-08-23 22:14:13 +08:00
parent 5a3e9a5853
commit b48bb279c6

View file

@ -61,7 +61,7 @@ class LibraryManager(
val existingBook = bookRepository.findByUrl(newBook.url) ?: newBook
if (newBook.fileLastModified != existingBook.fileLastModified) {
logger.info { "Book changed on disk, update and reset metadata status: ${newBook}" }
logger.info { "Book changed on disk, update and reset metadata status: $newBook" }
existingBook.fileLastModified = newBook.fileLastModified
existingBook.name = newBook.name
existingBook.metadata.reset()