Update screenManager.py

This commit is contained in:
chrys87 2016-12-15 10:39:33 +01:00 committed by GitHub
parent 662299e35c
commit 7d314cd8ef

View File

@ -73,9 +73,9 @@ class screenManager():
try:
self.env['runtime']['brailleDriver'].leveScreen()
except Exception as e:
pass
self.env['runtime']['debug'].writeDebugOut('screenManager:changeBrailleScreen:leveScreen ' + str(e),debug.debugLevel.ERROR)
if not self.isSuspendingScreen():
try:
self.env['runtime']['brailleDriver'].enterScreen(self.env['screenData']['newTTY'])
except Exception as e:
self.env['runtime']['debug'].writeDebugOut('screenManager:changeBrailleScreen ' + str(e),debug.debugLevel.ERROR)
self.env['runtime']['debug'].writeDebugOut('screenManager:changeBrailleScreen:enterScreen ' + str(e),debug.debugLevel.ERROR)