diff --git a/deluge/rencode.py b/deluge/rencode.py index a0a6eec35..188c51736 100644 --- a/deluge/rencode.py +++ b/deluge/rencode.py @@ -159,12 +159,6 @@ def decode_string(x, f): raise ValueError colon += 1 s = x[colon:colon+n] - try: - t = s.decode("utf8") - if len(t) != len(s): - s = t - except UnicodeDecodeError: - pass return (s, colon+n) def decode_list(x, f):