From 7bf4284f7b514985c74f66fcfeda7029ee42a72d Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 2 Sep 2019 01:00:38 +0200 Subject: [PATCH] Typo in keyword name --- platypush/plugins/torrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/torrent.py b/platypush/plugins/torrent.py index dba4ee6ab..1ce223954 100644 --- a/platypush/plugins/torrent.py +++ b/platypush/plugins/torrent.py @@ -97,7 +97,7 @@ class TorrentPlugin(Plugin): results[cat] = self.categories[cat](query, *args, **kwargs) workers = [ - threading.Thread(target=worker, kwargs={'category': category}) + threading.Thread(target=worker, kwargs={'cat': category}) for category in (category or self.categories.keys()) ]