From 183667a7f907f6d2ebc6abda4bbd774829ddffda Mon Sep 17 00:00:00 2001 From: totallylegit Date: Mon, 4 Jun 2018 20:39:27 +0200 Subject: Improve a bit the typing, again --- libmat2/torrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat2/torrent.py') 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 class TorrentParser(abstract.AbstractParser): - mimetypes = {'application/x-bittorrent', } + mimetypes = {b'application/x-bittorrent', } whitelist = {b'announce', b'announce-list', b'info'} def get_meta(self) -> dict: -- cgit v1.3