Send.py crashes and exits on bad input
tklovett opened this issue · 1 comments
tklovett commented
On Mac OS X using iTerm. Hit up arrow to get ^[[A
. Hit enter. Following error:
> ^[[A
Traceback (most recent call last):
File "send.py", line 56, in <module>
pattern = psk.encode(message)
File "/Users/tklovett/code/quietnet/psk.py", line 106, in encode
result.append(psk[c] )
KeyError: '\x1b'