From e2ee2ac7795247f6baad1ef62345d6ac5eb3fe92 Mon Sep 17 00:00:00 2001 From: teamblue-e2 Date: Sun, 10 Mar 2024 20:39:34 +0100 Subject: [PATCH] Fix some errors from e8b6c3fcabe263f2fef7972d49d6a4ce2b683f29 --- lib/python/Components/InputDevice.py | 2 +- lib/python/Components/Lcd.py | 2 +- lib/python/Screens/Ci.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/python/Components/InputDevice.py b/lib/python/Components/InputDevice.py index 64aebb6738..b3e6ddd7c0 100644 --- a/lib/python/Components/InputDevice.py +++ b/lib/python/Components/InputDevice.py @@ -205,7 +205,7 @@ def setupConfigEntries(self, device): class RcTypeControl: def __init__(self): - if BoxInfo.getItem("RcTypeChangable") and os.path.exists('/proc/stb/info/boxtype'): + if BoxInfo.getItem("RcTypeChangable") and pathExists('/proc/stb/info/boxtype'): self.isSupported = True if config.plugins.remotecontroltype.rctype.value != 0: diff --git a/lib/python/Components/Lcd.py b/lib/python/Components/Lcd.py index bc44a75f90..952e0784a4 100644 --- a/lib/python/Components/Lcd.py +++ b/lib/python/Components/Lcd.py @@ -68,7 +68,7 @@ def InitLcd(): else: detected = eDBoxLCD.getInstance() and eDBoxLCD.getInstance().detected() - BoxInfo.setItemi("Display", detected) + BoxInfo.setItem("Display", detected) config.lcd = ConfigSubsection() if fileExists("/proc/stb/lcd/mode"): diff --git a/lib/python/Screens/Ci.py b/lib/python/Screens/Ci.py index 3f1242be25..a0304ddcb2 100644 --- a/lib/python/Screens/Ci.py +++ b/lib/python/Screens/Ci.py @@ -12,6 +12,7 @@ from Tools.BoundFunction import boundFunction from enigma import eTimer, eDVBCI_UI +from os.path import exists from Screens.Screen import Screen forceNotShowCiMessages = False