Use proper object get

This commit is contained in:
Ruud
2012-09-16 10:11:24 +02:00
parent 5851f226b6
commit 6e8b828cd4

View File

@@ -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({