diff --git a/resources/lib/library_sync/process_metadata.py b/resources/lib/library_sync/process_metadata.py index 4f84256b..019c8e2e 100644 --- a/resources/lib/library_sync/process_metadata.py +++ b/resources/lib/library_sync/process_metadata.py @@ -89,7 +89,7 @@ class ProcessMetadata(backgroundthread.KillableThread, common.libsync_mixin): while self.isCanceled() is False: # grabs item from queue. This will block! item = self.queue.get() - if item is InitNewSection or item is None: + if isinstance(item, InitNewSection) or item is None: section = item self.queue.task_done() break