X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FSystemInfo.py;h=d074c41407ced50ebea7bc509bfc4ddbf1cdf19a;hb=1534ee3d4679bf797a153783d86c14d59cd596b8;hp=506633242b9908bf5aa5cbd696e95f5ed7c37249;hpb=7caa114b900d8cac5c57e59df971da9280112a1f;p=vuplus_dvbapp diff --git a/lib/python/Components/SystemInfo.py b/lib/python/Components/SystemInfo.py index 5066332..d074c41 100644 --- a/lib/python/Components/SystemInfo.py +++ b/lib/python/Components/SystemInfo.py @@ -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