X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/c0deea25035a845907210f2a913099343a16162e..03fdf984e93d81ed95945db51c83baf6c23e89e8:/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