add return
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 13 Mar 2008 00:40:10 +0000 (00:40 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 13 Mar 2008 00:40:10 +0000 (00:40 +0000)
lib/python/Components/SystemInfo.py

index f33a855..844c954 100644 (file)
@@ -6,5 +6,6 @@ def getNumVideoDecoders():
        idx = 0
        while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'w'):
                idx += 1
+       return idx
 
 SystemInfo["NumVideoDecoders"] = getNumVideoDecoders()