small fix
[enigma2.git] / lib / python / Components / SystemInfo.py
index 506633242b9908bf5aa5cbd696e95f5ed7c37249..d074c41407ced50ebea7bc509bfc4ddbf1cdf19a 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