From 1534ee3d4679bf797a153783d86c14d59cd596b8 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 9 Oct 2008 20:48:01 +0000 Subject: [PATCH] small fix --- lib/python/Components/SystemInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2