Don't try to loop over None. fix #2268
This commit is contained in:
@@ -222,6 +222,7 @@ class Manage(Plugin):
|
|||||||
|
|
||||||
groups = fireEvent('scanner.scan', folder = folder, files = files, single = True)
|
groups = fireEvent('scanner.scan', folder = folder, files = files, single = True)
|
||||||
|
|
||||||
|
if groups:
|
||||||
for group in groups.itervalues():
|
for group in groups.itervalues():
|
||||||
if group['library'] and group['library'].get('identifier'):
|
if group['library'] and group['library'].get('identifier'):
|
||||||
fireEvent('release.add', group = group)
|
fireEvent('release.add', group = group)
|
||||||
|
|||||||
Reference in New Issue
Block a user