mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-16 16:45:32 +01:00
Fix for TypeError: object of type 'NoneType' has no len() in Newzbin
results.
This commit is contained in:
@@ -304,7 +304,7 @@ def searchNZB(albumid=None, new=False):
|
||||
items = d.getElementsByTagName("item")
|
||||
except ExpatError:
|
||||
logger.info('Unable to get the NEWZBIN feed. Check that your settings are correct - post a bug if they are')
|
||||
items = None
|
||||
items = []
|
||||
|
||||
if len(items):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user