Simplify loop

This commit is contained in:
tomkat83 2017-05-25 13:58:15 +02:00
parent 5be7a5be8b
commit 0c0cf342df

View file

@ -326,7 +326,8 @@ class Player(xbmc.Player):
# Process each items
for item in self.played_info:
data = self.played_info.get(item)
if data:
if not data:
continue
log.debug("Item path: %s" % item)
log.debug("Item data: %s" % data)