From 2ba38dd2a18ab57ed7aac7ccdd6a42ff5e4d4eb7 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 12 Oct 2018 11:58:01 +0200 Subject: Bump mypy typing coverage --- 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 c56e971..4d6c1e0 100644 --- a/libmat2/torrent.py +++ b/libmat2/torrent.py @@ -14,7 +14,7 @@ class TorrentParser(abstract.AbstractParser): if self.dict_repr is None: raise ValueError - def get_meta(self) -> Dict[str, str]: + def get_meta(self) -> Dict[str, Union[str, dict]]: metadata = {} for key, value in self.dict_repr.items(): if key not in self.whitelist: -- cgit v1.3