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