X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e1450f8828c1be4e290cec0a34538ebe6cb86b50..c0d58a78fbddbce7e1722b6722534ec76b3b06fb:/widgets/abase.lua diff --git a/widgets/abase.lua b/widgets/abase.lua index 8ffdf0e..98f7818 100644 --- a/widgets/abase.lua +++ b/widgets/abase.lua @@ -27,8 +27,7 @@ local function worker(args) function abase.update() async.request(cmd, function(f) - output = f:read("*a") - f:close() + output = f widget = abase.widget settings() end)