[plugin] calibre: fix a nil concatenation typo (#13484)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled

This commit is contained in:
Frans de Jonge
2025-04-07 21:15:38 +02:00
committed by GitHub
parent d5ba5e3baf
commit 45f77455a9

View File

@@ -141,8 +141,8 @@ local function getBookInfo(book)
return id
end
-- all entries can be empty, except size, which is always filled by calibre.
local title = _("Title:") .. " " .. book.title or "-"
local authors = _("Author(s):") .. " " .. getEntries(book.authors) or "-"
local title = _("Title:") .. " " .. (book.title or "-")
local authors = _("Author(s):") .. " " .. (getEntries(book.authors) or "-")
local size = _("Size:") .. " " .. util.getFriendlySize(book.size) or _("Unknown")
local tags = getEntries(book.tags)
if tags then