diff options
| author | jvoisin | 2018-07-08 15:19:18 +0200 |
|---|---|---|
| committer | jvoisin | 2018-07-08 15:19:18 +0200 |
| commit | 72e1fda18d2788fb45c04e35a6447a56599c86ed (patch) | |
| tree | 5b02979bcd2c49bc78c8e2ca7a22367fbea69665 /libmat2 | |
| parent | 3cd4f9111f4a050ff365bbe103993b3a89fdc29d (diff) | |
Remove a leftover print
Diffstat (limited to 'libmat2')
| -rw-r--r-- | libmat2/torrent.py | 1 |
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:] |
