aboutsummaryrefslogtreecommitdiff
path: root/lamp.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lamp.ts')
-rw-r--r--lamp.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/lamp.ts b/lamp.ts
index dfe12da..83e6d8c 100644
--- a/lamp.ts
+++ b/lamp.ts
@@ -7,7 +7,7 @@ export default class Lamp {
private subpr: ChildProcess;
constructor(public addr: string) {
- this.subpr = spawn('python3', ['./main.py', addr]);
+ this.subpr = spawn('./venv/bin/python3', ['./main.py', addr]);
}
set color(newColor: LampColor) {
@@ -23,3 +23,4 @@ export default class Lamp {
return this.color.map(i => i.toString(16).padStart(2, '0')).join('');
}
}
+