From bad1990b3c0ca897126c8456643a6d2b1afcaafd Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Wed, 25 Jun 2008 16:42:58 +0000 Subject: [PATCH] dont crash when press ok at the first line in filelist --- lib/python/Plugins/Extensions/DVDPlayer/plugin.py | 3 +-- 1 file changed, 1 insertion(+), 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) -- 2.30.2