Merge pull request #670 from croneter/pr_attributeerror
Fix artwork caching AttributeError: 'ImageCachingThread' object has no attribute 'cancel'
This commit is contained in:
commit
0de47c7b3e
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class Sync(backgroundthread.KillableThread):
|
|||
LOG.info('Not synching Plex artwork - not caching')
|
||||
return
|
||||
if self.image_cache_thread and self.image_cache_thread.is_alive():
|
||||
self.image_cache_thread.cancel()
|
||||
self.image_cache_thread.abort()
|
||||
self.image_cache_thread.join()
|
||||
self.image_cache_thread = artwork.ImageCachingThread()
|
||||
self.image_cache_thread.start()
|
||||
|
|
Loading…
Reference in a new issue