X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/f97a4e53dcd9321cfe4d026f8efac3a3fea1cb6a..cd3cd96e2ff4c6e6a9a38393e4d93167d30f74ea:/lib/python/Components/SystemInfo.py diff --git a/lib/python/Components/SystemInfo.py b/lib/python/Components/SystemInfo.py index c3c8ff36..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), 'w'): + while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'f'): idx += 1 return idx