fix debug

This commit is contained in:
chrys 2017-07-02 00:51:56 +02:00
parent 2c7d3426e5
commit e47af4d30a

View File

@ -116,7 +116,7 @@ class driver():
fileno = change[0] fileno = change[0]
event = change[1] event = change[1]
if fileno == tty.fileno(): if fileno == tty.fileno():
self.env['runtime']['debug'].writeDebugOut('ScreenChange' + str(e),debug.debugLevel.INFO) self.env['runtime']['debug'].writeDebugOut('ScreenChange',debug.debugLevel.INFO)
tty.seek(0) tty.seek(0)
currScreen = str(tty.read()[3:-1]) currScreen = str(tty.read()[3:-1])
if currScreen != oldScreen: if currScreen != oldScreen: