summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2018-07-08 15:19:18 +0200
committerjvoisin2018-07-08 15:19:18 +0200
commit72e1fda18d2788fb45c04e35a6447a56599c86ed (patch)
tree5b02979bcd2c49bc78c8e2ca7a22367fbea69665
parent3cd4f9111f4a050ff365bbe103993b3a89fdc29d (diff)
Remove a leftover print
-rw-r--r--libmat2/torrent.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/libmat2/torrent.py b/libmat2/torrent.py
index 925ac55..c1ea2ca 100644
--- a/libmat2/torrent.py
+++ b/libmat2/torrent.py
@@ -70,7 +70,6 @@ class _BencodeHandler(object):
70 def __decode_string(s: bytes) -> Tuple[bytes, bytes]: 70 def __decode_string(s: bytes) -> Tuple[bytes, bytes]:
71 colon = s.index(b':') 71 colon = s.index(b':')
72 str_len = int(s[:colon]) 72 str_len = int(s[:colon])
73 print('S: %s' % s)
74 if s[0] == '0' and colon != 1: 73 if s[0] == '0' and colon != 1:
75 raise ValueError 74 raise ValueError
76 s = s[1:] 75 s = s[1:]