diff options
Diffstat (limited to 'tex/context/base/util-you.lua')
-rw-r--r-- | tex/context/base/util-you.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tex/context/base/util-you.lua b/tex/context/base/util-you.lua index 0f6a69da5..0eb87732f 100644 --- a/tex/context/base/util-you.lua +++ b/tex/context/base/util-you.lua @@ -119,7 +119,9 @@ function youless.collect(specification) if host == "" then return end - if filename ~= "" then + if filename == "" then + return + else data = table.load(filename) or data end if variant == "kwh" then @@ -130,8 +132,7 @@ function youless.collect(specification) if detail then get(host,"h",1,data) end - end - if filename == "" then + else return end local path = file.dirname(filename) |