diff --git a/frontend/readcollection.lua b/frontend/readcollection.lua index b35beaf91..7b235243e 100644 --- a/frontend/readcollection.lua +++ b/frontend/readcollection.lua @@ -42,7 +42,7 @@ function ReadCollection:prepareList(collection_name) file = file_path, text = v.file:gsub(".*/", ""), dim = not file_exists, - mandatory = file_exists and util.getFriendlySize(lfs.attributes(file_path, "size") or 0), + mandatory = file_exists and util.getFriendlySize(lfs.attributes(file_path, "size") or 0) or "", select_enabled = file_exists, }) end