Fix AttributeError

This commit is contained in:
croneter 2018-10-25 15:55:46 +02:00
parent eee4554213
commit 4b7eace923

View file

@ -84,7 +84,7 @@ class ProcessMetadata(backgroundthread.KillableThread, common.libsync_mixin):
self.current = 0
self.total = section.total
self.section_name = section.name
self.is_video = section.plex_type in v.PLEX_VIDEO_TYPES
self.is_video = section.plex_type in v.PLEX_VIDEOTYPES
with section.context(self.last_sync) as context:
while self.isCanceled() is False:
# grabs item from queue. This will block!