Skip to content

Commit

Permalink
[LCD4Linux]
Browse files Browse the repository at this point in the history
* remove boxbranding usage for new images
  • Loading branch information
jbleyel committed Jun 1, 2024
1 parent 1a53f64 commit c2cde9b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions LCD4linux/src/WebConfigSite.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@
from time import time
from twisted.web import resource, http
from enigma import eTimer
from boxbranding import getOEVersion
try:
from Components.SystemInfo import BoxInfo
OE43 = BoxInfo.getItem("oe") == "OE-Alliance 4.3"
except ImportError:
from boxbranding import getOEVersion
OE43 = getOEVersion() == "OE-Alliance 4.3"
from Components.config import ConfigSelection
from Tools.Directories import resolveFilename, SCOPE_PLUGINS, SCOPE_CONFIG
from .module import L4Lelement
Expand Down Expand Up @@ -155,7 +160,7 @@ def action(self, req):
global ExeMode
global StatusMode
IP = ensure_str(req.getClientIP())
if getOEVersion() == "OE-Alliance 4.3":
if OE43:
IP = IP.split(":")[-1]
L4logE("IP1:", IP)
if IP is None:
Expand Down

0 comments on commit c2cde9b

Please sign in to comment.