mirror of
https://github.com/mnaberez/py65.git
synced 2025-01-01 11:29:32 +00:00
Remove unused variable
This commit is contained in:
parent
2662da65cf
commit
f664f312c8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user