From 648fe27604df0a3501a16697042e0aa251ffef8c Mon Sep 17 00:00:00 2001 From: rembo10 Date: Thu, 10 Apr 2014 17:35:30 -0700 Subject: [PATCH] omgwtfnzbs fix --- headphones/searcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headphones/searcher.py b/headphones/searcher.py index 21115f19..f1c7ac2f 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -534,9 +534,9 @@ def searchNZB(album, new=False, losslessOnly=False): # Parse response if data: if 'notice' in data: - logger.info(u"No results returned from omgwtfnzbs: %s", d['notice']) + logger.info(u"No results returned from omgwtfnzbs: %s" % data['notice']) else: - for item in d: + for item in data: try: url = item['getnzb'] title = item['release']