fix incomming

This commit is contained in:
chrys 2018-03-22 21:13:58 +01:00
parent 8f76457feb
commit 9f982e867b

View File

@ -36,6 +36,7 @@ class command():
self.env['runtime']['debug'].writeDebugOut('NewDelta:'+str(self.env['screen']['newDelta']),debug.debugLevel.INFO) self.env['runtime']['debug'].writeDebugOut('NewDelta:'+str(self.env['screen']['newDelta']),debug.debugLevel.INFO)
if (xMove >= 1) and xMove == len(self.env['screen']['newDelta']): if (xMove >= 1) and xMove == len(self.env['screen']['newDelta']):
# if len(self.env['screen']['newDelta'].strip(' \n\t0123456789')) <= 2: # if len(self.env['screen']['newDelta'].strip(' \n\t0123456789')) <= 2:
if not '\n' in self.env['screen']['newDelta']:
return return
#if yMove == 1: #if yMove == 1:
# if len(self.env['screen']['newDelta'].strip(' \n\t0123456789')) <= 2: # if len(self.env['screen']['newDelta'].strip(' \n\t0123456789')) <= 2: