add return
[vuplus_dvbapp] / 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()