Skip to content

Commit cfbdaa6

Browse files
author
tociek
committed
Yet another change to fix OS detection
1 parent 08f1d0f commit cfbdaa6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

resources/lib/HyperionConfigTester.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ class HyperionConfigTester:
99
led_chain = None
1010
def __init__(self, chain = None):
1111
self.led_chain = chain
12-
if os.uname()[1] == "OpenELEC":
12+
#if os.uname()[1] == "OpenELEC":
13+
if os.path.isdir("/storage/.config"):
1314
self.hyperion_path = "/storage/hyperion/bin/hyperiond.sh"
1415
self.config_folder = "/storage/.config/"
1516
self.hyperion_remote_path = "/storage/hyperion/bin/hyperion-remote.sh"

0 commit comments

Comments
 (0)