Skip to content

Commit

Permalink
Fix some errors from e8b6c3f
Browse files Browse the repository at this point in the history
  • Loading branch information
teamblue-e2 committed Mar 10, 2024
1 parent 0969e98 commit e2ee2ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/python/Components/InputDevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion lib/python/Components/Lcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down
1 change: 1 addition & 0 deletions lib/python/Screens/Ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2ee2ac

Please sign in to comment.