Fix AttributeError: 'App' object has no attribute 'threads' when sync is cancelled
This commit is contained in:
parent
b9f1aefdc3
commit
d73d0b42d9
1 changed files with 2 additions and 2 deletions
|
@ -18,6 +18,8 @@ class App(object):
|
||||||
def __init__(self, entrypoint=False):
|
def __init__(self, entrypoint=False):
|
||||||
self.fetch_pms_item_number = None
|
self.fetch_pms_item_number = None
|
||||||
self.force_reload_skin = None
|
self.force_reload_skin = None
|
||||||
|
# All thread instances
|
||||||
|
self.threads = []
|
||||||
if entrypoint:
|
if entrypoint:
|
||||||
self.load_entrypoint()
|
self.load_entrypoint()
|
||||||
else:
|
else:
|
||||||
|
@ -44,8 +46,6 @@ class App(object):
|
||||||
self.monitor = None
|
self.monitor = None
|
||||||
# xbmc.Player() instance
|
# xbmc.Player() instance
|
||||||
self.player = None
|
self.player = None
|
||||||
# All thread instances
|
|
||||||
self.threads = []
|
|
||||||
# Instance of MetadataThread()
|
# Instance of MetadataThread()
|
||||||
self.metadata_thread = None
|
self.metadata_thread = None
|
||||||
# Instance of ImageCachingThread()
|
# Instance of ImageCachingThread()
|
||||||
|
|
Loading…
Reference in a new issue