typo
This commit is contained in:
parent
56e19eacb9
commit
15d3fffeac
@ -15,7 +15,6 @@ class screenManager():
|
|||||||
self.env = environment
|
self.env = environment
|
||||||
self.env['runtime']['settingsManager'].loadDriver(\
|
self.env['runtime']['settingsManager'].loadDriver(\
|
||||||
self.env['runtime']['settingsManager'].getSetting('screen', 'driver'), 'screenDriver')
|
self.env['runtime']['settingsManager'].getSetting('screen', 'driver'), 'screenDriver')
|
||||||
if self.env['runtime']['settingsManager'].getSettingAsBool('screen', 'autodetectSuspendingScreen'):
|
|
||||||
self.updateAutoIgnoreScreens()
|
self.updateAutoIgnoreScreens()
|
||||||
|
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
@ -41,6 +40,7 @@ class screenManager():
|
|||||||
self.env['runtime']['settingsManager'].getSetting('screen', 'suspendingScreen').split(',')) or
|
self.env['runtime']['settingsManager'].getSetting('screen', 'suspendingScreen').split(',')) or
|
||||||
(screen in self.autoIgnoreScreens))
|
(screen in self.autoIgnoreScreens))
|
||||||
def updateAutoIgnoreScreens(self):
|
def updateAutoIgnoreScreens(self):
|
||||||
|
if self.env['runtime']['settingsManager'].getSettingAsBool('screen', 'autodetectSuspendingScreen'):
|
||||||
self.autoIgnoreScreens = self.env['runtime']['screenDriver'].getIgnoreScreens()
|
self.autoIgnoreScreens = self.env['runtime']['screenDriver'].getIgnoreScreens()
|
||||||
def isScreenChange(self):
|
def isScreenChange(self):
|
||||||
if not self.env['screenData']['oldTTY']:
|
if not self.env['screenData']['oldTTY']:
|
||||||
|
Loading…
Reference in New Issue
Block a user