diff options
Diffstat (limited to 'termcast.py')
-rw-r--r-- | termcast.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/termcast.py b/termcast.py index 40262e0..ca8d213 100644 --- a/termcast.py +++ b/termcast.py @@ -43,6 +43,9 @@ class Connection(object): return auth = buf[:pos] + if auth[-1:] == b"\r": + auth = auth[:-1] + buf = buf[pos+1:] auth_re = re.compile(b'^hello ([^ ]+) ([^ ]+)$') |