From ff4fa33608dc7f0d364255891a112d7c0bd22152 Mon Sep 17 00:00:00 2001 From: WS64 Date: Fri, 15 Aug 2014 15:59:40 +0200 Subject: [PATCH] Update uimanager.lua --- frontend/ui/uimanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/ui/uimanager.lua b/frontend/ui/uimanager.lua index c527ad22c..0a4f5306c 100644 --- a/frontend/ui/uimanager.lua +++ b/frontend/ui/uimanager.lua @@ -92,7 +92,7 @@ function UIManager:init() if (input_event == "Power" or input_event == "Suspend") and not Device.screen_saver_mode then if not UIManager.suspend_msg then - if KOBO_SCREEN_SAVER then + if type(KOBO_SCREEN_SAVER) == "string" then local file = KOBO_SCREEN_SAVER if lfs.attributes(file, "mode") == "directory" then if string.sub(file,string.len(file)) ~= "/" then