commit be9219e4c40fbf00e397c0e4a825221eb10cbef0
parent 921924250ca93b6819e08a6bc7d227cb145e631c
Author: Hugo Soucy <hugo@soucy.cc>
Date: Sat, 25 Nov 2017 08:57:13 -0500
Remove an empty print()
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/functions/dispatch-nontextuals.lua b/functions/dispatch-nontextuals.lua
@@ -6,7 +6,7 @@ local tableutils = require("functions.table-utils")
local function dispatchnontextuals(file, filesection)
local mimestable = {"image/svg+xml", "image/jpeg", "image/png", "application/pdf"}
- prefetchtable = {}
+ local prefetchtable = {}
path.each(
path.dirname(file) .. "/*", "f",
@@ -22,9 +22,7 @@ local function dispatchnontextuals(file, filesection)
path.copy(img, htmlfolder .. "/" .. img_section .. img_relpath)
-- Then symlinks from those non-textuals for list index pages
- lfs.link("." .. img_relpath, htmlfolder .. "/" .. img_section .. "/" .. img_name, true)
-
- print()
+ lfs.link("." .. img_relpath, htmlfolder .. "/" .. img_section .. "/" .. img_name, true)
end
end,
{recurse = true}