Fix compare_checksum returning bool

Instead return list so it doesn't break anything.
This commit is contained in:
angelblue05 2016-10-27 05:14:06 -05:00
parent 245b1ce9fa
commit 82302cfc4e
1 changed files with 4 additions and 1 deletions

View File

@ -145,6 +145,9 @@ class Items(object):
update_list = self._compare_checksum(items, compare_to) update_list = self._compare_checksum(items, compare_to)
log.info("Update for %s: %s", view_name, update_list) log.info("Update for %s: %s", view_name, update_list)
if self.should_stop():
return False
emby_items = self.emby.getFullItems(update_list) emby_items = self.emby.getFullItems(update_list)
total = len(update_list) total = len(update_list)
@ -167,7 +170,7 @@ class Items(object):
for item in items: for item in items:
if self.should_stop(): if self.should_stop():
return False break
item_id = item['Id'] item_id = item['Id']