aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/MediaPlayer.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-27 20:33:34 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-27 20:33:34 +0000
commit80099e8bcecb0679984f69e6ceb1a4ab81c85456 (patch)
treea42d6290e88d92bea8c9df17371b2fdbdccdcaf6 /lib/python/Components/MediaPlayer.py
parent9a678498c312c304363ef3318ffbe9b0c4def740 (diff)
downloadenigma2-80099e8bcecb0679984f69e6ceb1a4ab81c85456.tar.gz
enigma2-80099e8bcecb0679984f69e6ceb1a4ab81c85456.zip
use del
Diffstat (limited to 'lib/python/Components/MediaPlayer.py')
-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