small fix
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 9 Oct 2008 20:48:01 +0000 (20:48 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 9 Oct 2008 20:48:01 +0000 (20:48 +0000)
lib/python/Components/SystemInfo.py

index 5066332..d074c41 100644 (file)
@@ -6,7 +6,7 @@ SystemInfo = { }
 def getNumVideoDecoders():
        from Tools.Directories import fileExists
        idx = 0
-       while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'r'):
+       while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'f'):
                idx += 1
        return idx