aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/MediaPlayer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/MediaPlayer.py b/lib/python/Components/MediaPlayer.py
index 31406e49..70a1dbbd 100644
--- a/lib/python/Components/MediaPlayer.py
+++ b/lib/python/Components/MediaPlayer.py
@@ -61,7 +61,7 @@ class PlayList(HTMLComponent, GUIComponent, MenuList):
self.oldCurrPlaying = -1
def clear(self):
- self.list = []
+ del self.list[:]
self.l.setList(self.list)
self.currPlaying = 0
self.oldCurrPlaying = -1