Update 75000-incoming_promote.py

This commit is contained in:
chrys87 2017-07-24 10:12:33 +02:00 committed by GitHub
parent 09079e92c7
commit 66139e1828

View File

@ -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: