break out of loop after plugin found

This commit is contained in:
SpootDev 2016-03-30 21:01:24 -05:00
parent 828d47b533
commit d8ba247d99

View file

@ -90,6 +90,7 @@ class LibrarySync(threading.Thread):
if plugin['Name'] == "Emby.Kodi Sync Queue":
self.logMsg("Found server plugin.", 2)
completed = self.fastSync()
break
if not completed:
# Fast sync failed or server plugin is not found