diff --git a/src/pyrocore/util/metafile.py b/src/pyrocore/util/metafile.py index 0ab24811..9e0bacd2 100644 --- a/src/pyrocore/util/metafile.py +++ b/src/pyrocore/util/metafile.py @@ -703,7 +703,7 @@ def listing(self, masked=True): bad_encodings = [] bad_fields = [] if six.PY2: #PY3 knows it's data - metainfo, bad_encodings, bad_fields = sanitize(bencode.bread(metainfo), diagnostics=True) + metainfo, bad_encodings, bad_fields = sanitize(metainfo, diagnostics=True) announce = metainfo['announce'] info = metainfo['info'] infohash = hashlib.sha1(bencode.bencode(info))