mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-07 20:29:34 +01:00
Fixed exception being referenced before assignment in searcher/getresultNZB
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user