aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-09 20:48:01 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-09 20:48:01 +0000
commit1534ee3d4679bf797a153783d86c14d59cd596b8 (patch)
treecb1cdb637b9a0c773ababcaf12a3a1509a4fdd18 /lib
parent645bd7f925f41626282f6f9f72e6fd71eaa45c2e (diff)
downloadenigma2-1534ee3d4679bf797a153783d86c14d59cd596b8.tar.gz
enigma2-1534ee3d4679bf797a153783d86c14d59cd596b8.zip
small fix
Diffstat (limited to 'lib')
-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