From e08895f26564faf47fdd6002ff3c276e13bac2a1 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Thu, 17 May 2018 17:31:22 +0200 Subject: [PATCH] Update screenManager.py --- src/fenrirscreenreader/core/screenManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/core/screenManager.py b/src/fenrirscreenreader/core/screenManager.py index 449ecade..3b337d6a 100644 --- a/src/fenrirscreenreader/core/screenManager.py +++ b/src/fenrirscreenreader/core/screenManager.py @@ -206,7 +206,6 @@ class screenManager(): ignoreScreens.extend(fixIgnoreScreens.split(',')) if self.env['runtime']['settingsManager'].getSettingAsBool('screen', 'autodetectSuspendingScreen'): ignoreScreens.extend(self.env['screen']['autoIgnoreScreens']) - self.env['runtime']['debug'].writeDebugOut('screenManager:isSuspendingScreen ' + str(ignoreScreens) + ' '+ str(self.env['screen']['newTTY']),debug.debugLevel.INFO) try: ignoreFileName = self.env['runtime']['settingsManager'].getSetting('screen', 'suspendingScreenFile') if ignoreFileName != '': @@ -215,6 +214,7 @@ class screenManager(): ignoreScreens.extend(fp.read().replace('\n','').split(',')) except: pass + self.env['runtime']['debug'].writeDebugOut('screenManager:isSuspendingScreen ' + str(ignoreScreens) + ' current:'+ str(self.env['screen']['newTTY']),debug.debugLevel.INFO) return (screen in ignoreScreens) def isScreenChange(self):