Update 75000-incoming_promote.py
This commit is contained in:
parent
09079e92c7
commit
66139e1828
@ -22,8 +22,6 @@ class command():
|
|||||||
return
|
return
|
||||||
if self.env['runtime']['settingsManager'].getSetting('promote', 'list').strip(" \t\n") == '':
|
if self.env['runtime']['settingsManager'].getSetting('promote', 'list').strip(" \t\n") == '':
|
||||||
return
|
return
|
||||||
if len(self.env['screen']['newDelta']) <= 2:
|
|
||||||
return
|
|
||||||
if int(time.time() - self.env['input']['lastInputTime']) < self.env['runtime']['settingsManager'].getSettingAsInt('promote', 'inactiveTimeoutSec'):
|
if int(time.time() - self.env['input']['lastInputTime']) < self.env['runtime']['settingsManager'].getSettingAsInt('promote', 'inactiveTimeoutSec'):
|
||||||
return
|
return
|
||||||
if len(self.env['runtime']['settingsManager'].getSetting('promote', 'list')) == 0:
|
if len(self.env['runtime']['settingsManager'].getSetting('promote', 'list')) == 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user