Shorten for loop

This commit is contained in:
tomkat83 2016-09-17 09:55:06 +02:00
parent daf23fcc55
commit 83029b7560

View file

@ -318,6 +318,7 @@ class ProcessFanartThread(Thread):
for key, value in allartworks.iteritems(): for key, value in allartworks.iteritems():
if not value and not key == 'BoxRear': if not value and not key == 'BoxRear':
needsupdate = True needsupdate = True
break
if needsupdate is False: if needsupdate is False:
log.debug('Already got all art for Plex id %s' log.debug('Already got all art for Plex id %s'
% item['itemId']) % item['itemId'])