diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtx-modules.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-modules.lua b/scripts/context/lua/mtx-modules.lua index ef38a7156..f4003c1db 100644 --- a/scripts/context/lua/mtx-modules.lua +++ b/scripts/context/lua/mtx-modules.lua @@ -69,7 +69,7 @@ local find, format, sub, is_empty, strip, gsub = string.find, string.format, str local function source_to_ted(inpname,outname,filetype) local data = io.loaddata(inpname) - if data == "" then + if not data or data == "" then report("invalid module name '%s'",inpname) return end |