From 3d36e78228984be161918c134666e77592aef2ee Mon Sep 17 00:00:00 2001 From: rembo10 Date: Thu, 13 Jun 2013 08:45:34 +0700 Subject: [PATCH] Fix for nzbsrus hanging while parsing results --- headphones/searcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/searcher.py b/headphones/searcher.py index 9af83ff0..05f7506f 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -348,7 +348,7 @@ def searchNZB(albumid=None, new=False, losslessOnly=False): if data: - d = json.loads(data.replace('null','None')) + d = json.loads(data) if d['matches'] <= 0: logger.info(u"No results found from NZBsRus for %s" % term)