diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-04-17 13:50:16 +0200 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-04-17 21:33:21 +0200 |
| commit | 0d076f400e8740e55289427c0f19c8055c74bbc5 (patch) | |
| tree | 2a1aeaf2141e1d771185ac5fe2408c27fbb4ec41 /lib/python/Plugins/Extensions | |
| parent | df8bb0da1dba17c9c89090b51e92ad5dd6364f1b (diff) | |
| download | enigma2-0d076f400e8740e55289427c0f19c8055c74bbc5.tar.gz enigma2-0d076f400e8740e55289427c0f19c8055c74bbc5.zip | |
fix crash when trying to select base dir as start directory
Diffstat (limited to 'lib/python/Plugins/Extensions')
| -rw-r--r-- | lib/python/Plugins/Extensions/MediaPlayer/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/MediaPlayer/settings.py b/lib/python/Plugins/Extensions/MediaPlayer/settings.py index 416ab2ee..8a032d16 100644 --- a/lib/python/Plugins/Extensions/MediaPlayer/settings.py +++ b/lib/python/Plugins/Extensions/MediaPlayer/settings.py @@ -46,7 +46,7 @@ class DirectoryBrowser(Screen, HelpableScreen): self.filelist.descent() def use(self): - if self.filelist.canDescent() and len(self["filelist"].getFilename()) > len(self["filelist"].getCurrentDirectory()): + if self.filelist.canDescent() and self["filelist"].getFilename() and len(self["filelist"].getFilename()) > len(self["filelist"].getCurrentDirectory()): self.filelist.descent() self.close(self["filelist"].getCurrentDirectory()) |
