From dfe321d87a66e5ca39299552868526a7cd2d9ed8 Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Thu, 14 Apr 2016 17:36:06 +0200 Subject: [PATCH] Fix a hasFrontLight call in reader.lua... (it's a function, not a bool ;'( ). Fix #1961 --- reader.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reader.lua b/reader.lua index 117dac0c3..1f14dc5e6 100755 --- a/reader.lua +++ b/reader.lua @@ -117,7 +117,7 @@ end -- restore kobo frontlight settings and probe kobo touch coordinates if Device:isKobo() then - if Device.hasFrontlight then + if Device:hasFrontlight() then local powerd = Device:getPowerDevice() if powerd and powerd.restore_settings then -- UIManager:init() should have sanely set up the frontlight_stuff by this point