Don't try to loop over None. fix #2268

This commit is contained in:
Ruud
2013-09-29 12:17:09 +02:00
parent 1b96489656
commit ae4e15286a
+1
View File
@@ -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)