cleanup + syntax

This commit is contained in:
chrys
2018-05-30 18:33:08 +02:00
parent 5e4f4832c1
commit f74ac1f84f
2 changed files with 9 additions and 7 deletions

View File

@ -52,7 +52,7 @@ class byteManager():
if time.time() - self.lastInputTime <= self.env['runtime']['settingsManager'].getSettingAsFloat('keyboard','doubleTapTimeout'):
self.repeat += 1
shortcutData = b''
for i to range(self.repeat):
for i in range(self.repeat):
shortcutData = shortcutData + convertedEscapeSequence
isCommand = self.detectByteCommand(shortcutData)
# fall back to single stroke - do we want this?