summaryrefslogtreecommitdiff
path: root/libmat2/torrent.py
diff options
context:
space:
mode:
authorjvoisin2018-10-12 11:58:01 +0200
committerjvoisin2018-10-12 14:32:09 +0200
commit2ba38dd2a18ab57ed7aac7ccdd6a42ff5e4d4eb7 (patch)
tree7fe800485f6ea47b21f63195c6dfc2f32e675bfe /libmat2/torrent.py
parentb832a5941458083dd6147efb652036552f95b786 (diff)
Bump mypy typing coverage
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 c56e971..4d6c1e0 100644
--- a/libmat2/torrent.py
+++ b/libmat2/torrent.py
@@ -14,7 +14,7 @@ class TorrentParser(abstract.AbstractParser):
14 if self.dict_repr is None: 14 if self.dict_repr is None:
15 raise ValueError 15 raise ValueError
16 16
17 def get_meta(self) -> Dict[str, str]: 17 def get_meta(self) -> Dict[str, Union[str, dict]]:
18 metadata = {} 18 metadata = {}
19 for key, value in self.dict_repr.items(): 19 for key, value in self.dict_repr.items():
20 if key not in self.whitelist: 20 if key not in self.whitelist: