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 506633242b9908bf5aa5cbd696e95f5ed7c37249..d074c41407ced50ebea7bc509bfc4ddbf1cdf19a 100644 (file)
@@ -6,7 +6,7 @@ SystemInfo = { }
 def getNumVideoDecoders():
        from Tools.Directories import fileExists
        idx = 0
 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
 
                idx += 1
        return idx