Fix UnboundLocalError
This commit is contained in:
parent
14f7b56b08
commit
dfccefe2e8
1 changed files with 3 additions and 3 deletions
|
@ -110,9 +110,9 @@ class FullSync(backgroundthread.KillableThread, common.libsync_mixin):
|
|||
"""
|
||||
"""
|
||||
LOG.debug('Start processing %ss', self.plex_type)
|
||||
sections = (x for x in sections.SECTIONS
|
||||
sects = (x for x in sections.SECTIONS
|
||||
if x['plex_type'] == self.plex_type)
|
||||
for section in sections:
|
||||
for section in sects:
|
||||
LOG.debug('Processing library section %s', section)
|
||||
if self.isCanceled():
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue