Fix some more errors: Item not yet synced
This commit is contained in:
parent
263b7d7684
commit
b7a6a58da3
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,6 @@ class ProcessMetadata(backgroundthread.KillableThread, common.libsync_mixin):
|
||||||
item = self.queue.get()
|
item = self.queue.get()
|
||||||
if isinstance(item, InitNewSection) or item is None:
|
if isinstance(item, InitNewSection) or item is None:
|
||||||
section = item
|
section = item
|
||||||
self.queue.task_done()
|
|
||||||
break
|
break
|
||||||
try:
|
try:
|
||||||
context.add_update(item['xml'][0],
|
context.add_update(item['xml'][0],
|
||||||
|
@ -100,6 +99,7 @@ class ProcessMetadata(backgroundthread.KillableThread, common.libsync_mixin):
|
||||||
self.update_progressbar()
|
self.update_progressbar()
|
||||||
self.current += 1
|
self.current += 1
|
||||||
self.queue.task_done()
|
self.queue.task_done()
|
||||||
|
self.queue.task_done()
|
||||||
finally:
|
finally:
|
||||||
if self.dialog:
|
if self.dialog:
|
||||||
self.dialog.close()
|
self.dialog.close()
|
||||||
|
|
Loading…
Reference in a new issue