From 3e261a75e2174fae0e9e170648024c99d1245641 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sun, 11 Sep 2016 10:20:29 +0200 Subject: [PATCH] Prevent errors if changing setting --- resources/lib/librarysync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index e40ef334..f842e85e 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -370,8 +370,8 @@ class LibrarySync(Thread): self.queue = queue self.itemsToProcess = [] self.sessionKeys = [] + self.fanartqueue = Queue.Queue() if settings('FanartTV') == 'true': - self.fanartqueue = Queue.Queue() self.fanartthread = ProcessFanartThread(self.fanartqueue) # How long should we wait at least to process new/changed PMS items? self.saftyMargin = int(settings('saftyMargin'))