aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/SystemInfo.py
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2008-10-08 21:27:46 +0000
committerAndreas Oberritter <obi@opendreambox.org>2008-10-08 21:27:46 +0000
commit7caa114b900d8cac5c57e59df971da9280112a1f (patch)
treee3a2ef5869a36c57c996a4bff56a3eae3d120875 /lib/python/Components/SystemInfo.py
parent705f75eb25eb4436f1b99a584dd47292d68cd6b2 (diff)
downloadenigma2-7caa114b900d8cac5c57e59df971da9280112a1f.tar.gz
enigma2-7caa114b900d8cac5c57e59df971da9280112a1f.zip
do not create files when checking for existence...
Diffstat (limited to 'lib/python/Components/SystemInfo.py')
-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