1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-14 13:29:28 +00:00

Remove unused variable

This commit is contained in:
Mike Naberezny 2014-01-25 20:41:18 -08:00
parent 2662da65cf
commit f664f312c8

View File

@ -56,14 +56,12 @@ else:
fcntl.fcntl(fd, fcntl.F_SETFL, oldflags | os.O_NONBLOCK)
try:
byte = 0
char = ''
r, w, e = select.select([fd], [], [], 0.1)
if r:
char = stdin.read(1)
if char == "\n":
char = "\r"
else:
char = ''
finally:
termios.tcsetattr(fd, termios.TCSAFLUSH, oldterm)
fcntl.fcntl(fd, fcntl.F_SETFL, oldflags)