X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FSystemInfo.py;fp=lib%2Fpython%2FComponents%2FSystemInfo.py;h=506633242b9908bf5aa5cbd696e95f5ed7c37249;hp=c3c8ff361022f68024f50be3780cc8005e06fa6b;hb=7caa114b900d8cac5c57e59df971da9280112a1f;hpb=705f75eb25eb4436f1b99a584dd47292d68cd6b2 diff --git a/lib/python/Components/SystemInfo.py b/lib/python/Components/SystemInfo.py index c3c8ff3..5066332 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), 'w'): + while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'r'): idx += 1 return idx