From 6e8b828cd4c35e5f4be008767f1cc0183f476251 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 16 Sep 2012 10:11:24 +0200 Subject: [PATCH] Use proper object get --- couchpotato/core/providers/torrent/publichd/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/providers/torrent/publichd/main.py b/couchpotato/core/providers/torrent/publichd/main.py index cf0e6878..5996fe92 100644 --- a/couchpotato/core/providers/torrent/publichd/main.py +++ b/couchpotato/core/providers/torrent/publichd/main.py @@ -24,7 +24,7 @@ class PublicHD(TorrentProvider): results = [] - if self.isDisabled() or quality['hd'] != True: + if self.isDisabled() or not quality.get('hd', False): return results params = tryUrlencode({