]> git.lizzy.rs Git - lmz_opening_hours.git/blobdiff - init.lua
avoid metatable logic
[lmz_opening_hours.git] / init.lua
index cd9d7af8f61dc15dead5b8b666d7fc29b5606487..c8593797224b2f0d845e939c7c7333de00e19577 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -38,7 +38,7 @@ local function reset_execption()
 end
 
 local function opening_today()
-       local today = opening_hours_today
+       local today = opening_hours.today
        if today and today == get_date_formated() then
                return opening_hours.today_start, opening_hours.today_end
        elseif is_weekend() then