1
0
Fork 0

Remove a leftover print

This commit is contained in:
jvoisin 2018-07-08 15:19:18 +02:00
parent 3cd4f9111f
commit 72e1fda18d
1 changed files with 0 additions and 1 deletions

View File

@ -70,7 +70,6 @@ class _BencodeHandler(object):
def __decode_string(s: bytes) -> Tuple[bytes, bytes]:
colon = s.index(b':')
str_len = int(s[:colon])
print('S: %s' % s)
if s[0] == '0' and colon != 1:
raise ValueError
s = s[1:]