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

This commit is contained in:
Ruud committed 2013-09-29 12:17:09 +02:00
1 parent 1b96489656
commit ae4e15286a
1 file changed
+1
+1
View File
@@ -222,6 +222,7 @@ class Manage(Plugin):
groups = fireEvent('scanner.scan', folder = folder, files = files, single = True)
if groups:
for group in groups.itervalues():
if group['library'] and group['library'].get('identifier'):
fireEvent('release.add', group = group)