From b7a6a58da3ae9df66bd0ad23cf7782322bebe45e Mon Sep 17 00:00:00 2001 From: croneter Date: Mon, 5 Nov 2018 12:28:05 +0100 Subject: [PATCH] Fix some more errors: Item not yet synced --- resources/lib/library_sync/process_metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/library_sync/process_metadata.py b/resources/lib/library_sync/process_metadata.py index ea278129..99b62e58 100644 --- a/resources/lib/library_sync/process_metadata.py +++ b/resources/lib/library_sync/process_metadata.py @@ -85,7 +85,6 @@ class ProcessMetadata(backgroundthread.KillableThread, common.libsync_mixin): item = self.queue.get() if isinstance(item, InitNewSection) or item is None: section = item - self.queue.task_done() break try: context.add_update(item['xml'][0], @@ -100,6 +99,7 @@ class ProcessMetadata(backgroundthread.KillableThread, common.libsync_mixin): self.update_progressbar() self.current += 1 self.queue.task_done() + self.queue.task_done() finally: if self.dialog: self.dialog.close()