Fix TypeError: 'InitNewSection' object has no attribute
This commit is contained in:
parent
facf2d5e2d
commit
01fc08b027
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class ProcessMetadata(backgroundthread.KillableThread, common.libsync_mixin):
|
||||||
while self.isCanceled() is False:
|
while self.isCanceled() is False:
|
||||||
# grabs item from queue. This will block!
|
# grabs item from queue. This will block!
|
||||||
item = self.queue.get()
|
item = self.queue.get()
|
||||||
if item is InitNewSection or item is None:
|
if isinstance(item, InitNewSection) or item is None:
|
||||||
section = item
|
section = item
|
||||||
self.queue.task_done()
|
self.queue.task_done()
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue