Prevent errors if changing setting
This commit is contained in:
parent
bcb3b49507
commit
3e261a75e2
1 changed files with 1 additions and 1 deletions
|
@ -370,8 +370,8 @@ class LibrarySync(Thread):
|
||||||
self.queue = queue
|
self.queue = queue
|
||||||
self.itemsToProcess = []
|
self.itemsToProcess = []
|
||||||
self.sessionKeys = []
|
self.sessionKeys = []
|
||||||
|
self.fanartqueue = Queue.Queue()
|
||||||
if settings('FanartTV') == 'true':
|
if settings('FanartTV') == 'true':
|
||||||
self.fanartqueue = Queue.Queue()
|
|
||||||
self.fanartthread = ProcessFanartThread(self.fanartqueue)
|
self.fanartthread = ProcessFanartThread(self.fanartqueue)
|
||||||
# How long should we wait at least to process new/changed PMS items?
|
# How long should we wait at least to process new/changed PMS items?
|
||||||
self.saftyMargin = int(settings('saftyMargin'))
|
self.saftyMargin = int(settings('saftyMargin'))
|
||||||
|
|
Loading…
Reference in a new issue