Simplify loop
This commit is contained in:
parent
5be7a5be8b
commit
0c0cf342df
1 changed files with 33 additions and 32 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue