From 99809348f72d4a91eff7e532f578bba4814ac0c3 Mon Sep 17 00:00:00 2001 From: Janez Troha Date: Tue, 3 Jul 2012 12:35:20 +0200 Subject: [PATCH] lamba fix for tpb --- couchpotato/core/providers/torrent/thepiratebay/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/providers/torrent/thepiratebay/main.py b/couchpotato/core/providers/torrent/thepiratebay/main.py index bae79551..a66cc812 100644 --- a/couchpotato/core/providers/torrent/thepiratebay/main.py +++ b/couchpotato/core/providers/torrent/thepiratebay/main.py @@ -106,7 +106,7 @@ class ThePirateBay(TorrentProvider): )[2].string) new['leechers'] = int(result.find_all('td' )[3].string) - new['extra_score'] = lambda : trusted + vip \ + new['extra_score'] = lambda (x): trusted + vip \ + moderated new['score'] = fireEvent('score.calculate', new, movie, single=True)