Remove a leftover print
This commit is contained in:
parent
3cd4f9111f
commit
72e1fda18d
@ -70,7 +70,6 @@ class _BencodeHandler(object):
|
|||||||
def __decode_string(s: bytes) -> Tuple[bytes, bytes]:
|
def __decode_string(s: bytes) -> Tuple[bytes, bytes]:
|
||||||
colon = s.index(b':')
|
colon = s.index(b':')
|
||||||
str_len = int(s[:colon])
|
str_len = int(s[:colon])
|
||||||
print('S: %s' % s)
|
|
||||||
if s[0] == '0' and colon != 1:
|
if s[0] == '0' and colon != 1:
|
||||||
raise ValueError
|
raise ValueError
|
||||||
s = s[1:]
|
s = s[1:]
|
||||||
|
Loading…
Reference in New Issue
Block a user