diff options
author | Jakob Stendahl <14180120+JakobST1n@users.noreply.github.com> | 2018-10-18 12:44:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-18 12:44:36 +0200 |
commit | 0a91009c97ff8b28822c1b20e7568bddfdb43e7e (patch) | |
tree | e07b97177749e6401a5b70f3a08b7c53b8d96b0d /src/compileAndRun/pythonSupportFiles/entry.py | |
parent | 1afb32f103bb7ebbc9ffa678ac6f5948a5ec54b1 (diff) | |
parent | 5cb309a9bb3481534b353cb50c707a64b4155c00 (diff) | |
download | Luxcena-Neo-0a91009c97ff8b28822c1b20e7568bddfdb43e7e.tar.gz Luxcena-Neo-0a91009c97ff8b28822c1b20e7568bddfdb43e7e.zip |
:construction: Work on installer and start on implementing LED control
:construction: Work on installer and start on implementing LED control
Diffstat (limited to 'src/compileAndRun/pythonSupportFiles/entry.py')
-rw-r--r-- | src/compileAndRun/pythonSupportFiles/entry.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compileAndRun/pythonSupportFiles/entry.py b/src/compileAndRun/pythonSupportFiles/entry.py index 4ba1031..3dab945 100644 --- a/src/compileAndRun/pythonSupportFiles/entry.py +++ b/src/compileAndRun/pythonSupportFiles/entry.py @@ -49,14 +49,12 @@ def main(): print ("> Loading pixel-configuration...") with open(config_dir + "strip.json", "r") as rawStripConf: stripConf = json.load(rawStripConf) - segments = stripConf["segments"] - segmentConfiguration = stripConf["segmentConfiguration"] print ("> Initializing script...") moduleSc = importlib.import_module("script") if ("LuxcenaNeo" in dir(moduleSc)): - moduleSc.LuxcenaNeo.strip = moduleSc.LuxcenaNeo.Strip(segments, segmentConfiguration) + moduleSc.LuxcenaNeo.strip = moduleSc.LuxcenaNeo.Strip(stripConf) elif ("neo" in dir(moduleSc)): moduleSc.neo.strip = moduleSc.neo.Strip(segments, segmentConfiguration) else: |