X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/c0deea25035a845907210f2a913099343a16162e..8c2e1df0c3f648ed70e52fab38a176e2f924407b:/widgets/contrib/tpbat/init.lua diff --git a/widgets/contrib/tpbat/init.lua b/widgets/contrib/tpbat/init.lua index 380625f..d96c2d8 100644 --- a/widgets/contrib/tpbat/init.lua +++ b/widgets/contrib/tpbat/init.lua @@ -42,7 +42,7 @@ end function tpbat.show(t_out) tpbat.hide() - local bat = self.bat + local bat = tpbat.bat if bat == nil or not bat:installed() then return end