boil out history

This commit is contained in:
chrys 2016-10-06 07:46:09 +02:00
parent da7d2dda62
commit 2f1d2ba13f

View File

@ -120,7 +120,7 @@ class inputManager():
self.clearEventBuffer() self.clearEventBuffer()
if len(self.env['input']['currInput']) == 1: if len(self.env['input']['currInput']) == 1:
if self.env['input']['currInput'][0] in ['KEY_UP','KEY_DOWN']: if self.env['input']['currInput'][0] in ['KEY_UP','KEY_DOWN']:
time.sleep(0.08) time.sleep(0.08) # hack for tintin history because it needs more time
except Exception as e: except Exception as e:
self.env['runtime']['debug'].writeDebugOut("Error while writeUInput",debug.debugLevel.ERROR) self.env['runtime']['debug'].writeDebugOut("Error while writeUInput",debug.debugLevel.ERROR)
self.env['runtime']['debug'].writeDebugOut(str(e),debug.debugLevel.ERROR) self.env['runtime']['debug'].writeDebugOut(str(e),debug.debugLevel.ERROR)