Fix ProgrammingError: Cannot operate on a closed database

This commit is contained in:
croneter 2018-11-20 19:23:42 +01:00
parent 45b3c0e3f5
commit ce191f6eeb

View file

@ -108,7 +108,6 @@ class FullSync(common.libsync_mixin):
section['section_id'],
self.plex_type)
self.queue.put(queue_info)
with PlexDB() as self.plexdb:
for xml_item in iterator:
if self.isCanceled():
return False