diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-06-25 16:42:58 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-06-25 16:42:58 +0000 |
| commit | bad1990b3c0ca897126c8456643a6d2b1afcaafd (patch) | |
| tree | 5cb938fb669e5e6c9bfdcb9bb084b7f6922aec4e /lib/python/Plugins/Extensions/DVDPlayer | |
| parent | 9083b11e3985534d45494cd89e0c54fddf7e5b52 (diff) | |
| download | enigma2-bad1990b3c0ca897126c8456643a6d2b1afcaafd.tar.gz enigma2-bad1990b3c0ca897126c8456643a6d2b1afcaafd.zip | |
dont crash when press ok at the first line in filelist
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDPlayer')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDPlayer/plugin.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py index 57706faf..6a69de42 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py +++ b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py @@ -56,8 +56,7 @@ class FileBrowser(Screen): self.close(filename[0:-9]) if self["filelist"].canDescent(): # isDir self["filelist"].descent() - pathname = self["filelist"].getCurrentDirectory() - print self["filelist"].getFilename() + pathname = self["filelist"].getCurrentDirectory() or "" if fileExists(pathname+"VIDEO_TS.IFO"): print "dvd structure found, trying to open..." self.close(pathname) |
