aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/python/Components/SystemInfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/SystemInfo.py b/lib/python/Components/SystemInfo.py
index 50663324..d074c414 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