1
0
mirror of synced 2024-11-26 03:04:22 +01:00

Remove a leftover print

This commit is contained in:
jvoisin 2018-07-08 15:19:18 +02:00
parent 3cd4f9111f
commit 72e1fda18d

View File

@ -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:]