forked from openlp/openlp
fix
This commit is contained in:
parent
87e70fa2dc
commit
5d6db957e1
@ -134,7 +134,7 @@ class MediaController(object):
|
||||
savedPlayers = playerSettings.split(u',')
|
||||
invalidMediaPlayers = [mediaPlayer for mediaPlayer in savedPlayers \
|
||||
if not mediaPlayer in self.mediaPlayers or \
|
||||
self.mediaPlayers[mediaPlayer].check_available() == False]
|
||||
not self.mediaPlayers[mediaPlayer].check_available()]
|
||||
if len(invalidMediaPlayers) > 0:
|
||||
for invalidPlayer in invalidMediaPlayers:
|
||||
savedPlayers.remove(invalidPlayer)
|
||||
|
Loading…
Reference in New Issue
Block a user