[RC] fixed incorrect setting of rcused value.
[vuplus_dvbapp] / lib / python / Screens / Rc.py
index 2ddfeb8..a5dd3da 100644 (file)
@@ -34,9 +34,9 @@ class Rc:
                if config.misc.firstrun.value:
                        boxType = HardwareInfo().get_vu_device_name()
 
-                       if boxType == 'solo':
+                       if boxType in ('duo', 'uno', 'ultimo', 'solo2', 'duo2', 'solose', 'zero', 'solo4k', 'uno4k', 'ultimo4k'):
                                config.misc.rcused.value = 0
-                       elif boxType in ('duo', 'uno', 'ultimo', 'solo2', 'duo2', 'solose', 'zero', 'solo4k', 'uno4k', 'ultimo4k'):
+                       elif boxType == 'solo':
                                config.misc.rcused.value = 1
                        else:
                                config.misc.rcused.value = 2