diff --git a/nyaa/torrents.py b/nyaa/torrents.py index a8ad6d0..192ab0f 100644 --- a/nyaa/torrents.py +++ b/nyaa/torrents.py @@ -106,6 +106,6 @@ def create_bencoded_torrent(torrent, metadata_base=None): suffix = bencode.encode(suffixed_dict) bencoded_info = torrent.info.info_dict - bencoded_torrent = prefix[:-1] + b'4:info' + bencoded_info + b'e' + suffix[1:] + bencoded_torrent = prefix[:-1] + b'4:info' + bencoded_info + suffix[1:] return bencoded_torrent