Fixed exception being referenced before assignment in searcher/getresultNZB

This commit is contained in:
Remy
2011-08-09 12:10:43 -07:00
parent eaa420583e
commit 76529ea851

View File

@@ -453,7 +453,7 @@ def getresultNZB(result):
else:
try:
nzb = urllib2.urlopen(result[2], timeout=20).read()
except:
except Exception, e:
logger.warn('Error fetching nzb from url: ' + result[2] + ' %s' % e)
return nzb