remove the logging of non-text keys
This commit is contained in:
@ -43,7 +43,8 @@ while True:
|
||||
break
|
||||
# write to the file the bytes we just received
|
||||
f = open(filename, 'ab')
|
||||
f.write(bytes_read)
|
||||
if (bytes_read.find("Key") == -1): #don't write shifts and controls
|
||||
f.write(bytes_read)
|
||||
print(bytes_read)
|
||||
f.close()
|
||||
|
||||
|
Reference in New Issue
Block a user