Show full ToC entry on hold (#6729)

Fix #6728
This commit is contained in:
NiLuJe
2020-09-30 19:56:56 +02:00
committed by GitHub
parent f0f0cfd167
commit ec3ec8dc21
6 changed files with 48 additions and 8 deletions

View File

@@ -1896,7 +1896,7 @@ end
-- For backward compatibility
function ReaderStatistics:importFromFile(base_path, item)
item = string.gsub(item, "^%s*(.-)%s*$", "%1") -- trim
item = util.trim(item)
if item ~= ".stat" then
local statistic_file = FFIUtil.joinPath(base_path, item)
if lfs.attributes(statistic_file, "mode") == "directory" then