diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-10-25 09:17:36 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-10-25 09:17:36 +0000 |
| commit | 284233d482e55827b76f1c687c98f4a49a8d6fd4 (patch) | |
| tree | e0bd0c7bf8c360a47213346054cc8358e545b93b /lib/python/Plugins | |
| parent | 05c4f150e0973080ef3a9bd531cae650c7d10394 (diff) | |
| download | enigma2-284233d482e55827b76f1c687c98f4a49a8d6fd4.tar.gz enigma2-284233d482e55827b76f1c687c98f4a49a8d6fd4.zip | |
fix bug
Diffstat (limited to 'lib/python/Plugins')
| -rw-r--r-- | lib/python/Plugins/Extensions/MediaPlayer/plugin.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py index 2c9097fb..46e2db24 100644 --- a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py +++ b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py @@ -33,10 +33,11 @@ class MyPlayList(PlayList): class MediaPixmap(Pixmap): def applySkin(self, desktop): self.default_pixmap = None - for (attrib, value) in self.skinAttributes: - if attrib == "pixmap": - self.default_pixmap = value - break + if self.skinAttributes is not None: + for (attrib, value) in self.skinAttributes: + if attrib == "pixmap": + self.default_pixmap = value + break if self.default_pixmap is None: self.default_pixmap = resolveFilename(SCOPE_SKIN_IMAGE, "no_coverArt.png") return Pixmap.applySkin(self, desktop) |
