bat: rem nil value fixed

This commit is contained in:
luke bonham 2013-09-14 14:15:57 +02:00
parent a8eb652fd6
commit c179b24619
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ local function worker(args)
ontop = true,
replaces_id = bat.id
}).id
elseif bat.perc <= 15
elseif bat_now.perc <= 15
then
bat.id = naughty.notify({
text = "plug the cable",