X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/89d557638deb75bc3d0e6c8890cb7eec59ab0ce2..6b91332a38dfd5f8758b170c592faec8b3a544fe:/helpers.lua diff --git a/helpers.lua b/helpers.lua index 08aba0d..af6443f 100644 --- a/helpers.lua +++ b/helpers.lua @@ -61,7 +61,7 @@ end -- get first non empty line from a file, -- returns nil otherwise function helpers.first_nonempty_line(file) - for k,v in pairs(lines_from(file)) do + for k,v in pairs(helpers.lines_from(file)) do if #v then return v end end return nil