summaryrefslogtreecommitdiff
path: root/libmat2/torrent.py
diff options
context:
space:
mode:
authorjvoisin2018-07-10 21:30:38 +0200
committerjvoisin2018-07-10 21:30:38 +0200
commit5a7c7f35f7d526a8c0ed49da12e4efc5e9dd6582 (patch)
treee9af668c60f2b6b16641f5bbd106b9ff7d27b3b9 /libmat2/torrent.py
parentd5861e46537f3e94abd26f63a3a7ad5b69d25e77 (diff)
Remove `print` from libmat, and use the `logging` module instead
This should close #28
Diffstat (limited to 'libmat2/torrent.py')
-rw-r--r--libmat2/torrent.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmat2/torrent.py b/libmat2/torrent.py
index ca7715a..90f83f8 100644
--- a/libmat2/torrent.py
+++ b/libmat2/torrent.py
@@ -3,6 +3,8 @@ from typing import Union, Tuple, Dict
3 3
4from . import abstract 4from . import abstract
5 5
6logging.basicConfig(level=logging.ERROR)
7
6 8
7class TorrentParser(abstract.AbstractParser): 9class TorrentParser(abstract.AbstractParser):
8 mimetypes = {'application/x-bittorrent', } 10 mimetypes = {'application/x-bittorrent', }