mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-22 12:49:26 +00:00
omgwtfnzbs fix
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user