summaryrefslogtreecommitdiff
path: root/libmat2/torrent.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmat2/torrent.py')
-rw-r--r--libmat2/torrent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/torrent.py b/libmat2/torrent.py
index cb4b5e3..3a819fb 100644
--- a/libmat2/torrent.py
+++ b/libmat2/torrent.py
@@ -2,7 +2,7 @@ from . import abstract
2 2
3 3
4class TorrentParser(abstract.AbstractParser): 4class TorrentParser(abstract.AbstractParser):
5 mimetypes = {'application/x-bittorrent', } 5 mimetypes = {b'application/x-bittorrent', }
6 whitelist = {b'announce', b'announce-list', b'info'} 6 whitelist = {b'announce', b'announce-list', b'info'}
7 7
8 def get_meta(self) -> dict: 8 def get_meta(self) -> dict: