X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/293091d2674bb5b37d461b7989a39b7048800794..36b0ed19bbf1f99172ee267799b9eca1b418c4df:/widgets/abase.lua diff --git a/widgets/abase.lua b/widgets/abase.lua index 1c132cd..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("*all") - f:close() + output = f widget = abase.widget settings() end)