Commit 286f7eec authored by gordon bleu's avatar gordon bleu
Browse files

adding destination to config

parent a02a1b52
......@@ -5,7 +5,8 @@ config = {
"cyber-12x12.png",
"star2-12x12.png",
"heart-ping-12x12.png"
]
],
"destination": "192.168.178.37"
}
......@@ -20,3 +21,6 @@ def update(data):
if "path" in data:
config['path'] = data['path']
if "destination" in data:
config['destination'] = data['destination']
......@@ -37,7 +37,7 @@ def display_pixels():
sender = sacn.sACNsender()
sender.start()
sender.activate_output(universe)
sender[universe].destination = "192.168.178.37"
sender[universe].destination = config['destination']
while running is True:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment