aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-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 c3c8ff36..50663324 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