Skip to content

Commit

Permalink
[sf8008] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
WanWizard committed Feb 16, 2024
1 parent 053cccf commit 37b1b24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/controllers/models/owibranding.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,12 +550,12 @@ def getAllInfo():
brand = "Octagon"
if procmodel.startswith("sf8008"):
wifi = None
if fileExists("/sys/devices/platform/soc/f9890000.ehci/usb1/1-1/idProduct"):
f = open("/sys/devices/platform/soc/f9890000.ehci/usb1/1-1/idProduct", 'r')
if fileExists("/sys/devices/platform/soc/f9890000.ehci/usb1/1-2/idProduct"):
f = open("/sys/devices/platform/soc/f9890000.ehci/usb1/1-2/idProduct", 'r')
wifi = f.readline().strip().lower()
f.close()
if wifi == "c82c":
procmodel = "sf8008x"
procmodel = "sf8008sc"
model = "SF8008 4K Supreme"
else:
sf8008type = open("/proc/stb/info/type").read()
Expand Down
File renamed without changes

0 comments on commit 37b1b24

Please sign in to comment.