From 11b0a932609c47c684840af4e4892a6aa9aa5bce Mon Sep 17 00:00:00 2001 From: Daniel Pollithy Date: Fri, 1 Sep 2017 12:37:09 +0200 Subject: [PATCH] d3 update --- relais.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/relais.py b/relais.py index e20068e..c7b8a0e 100644 --- a/relais.py +++ b/relais.py @@ -2,10 +2,10 @@ from subprocess import Popen def switch_off(): - popen = Popen(['sudo', './touch_switch', 'off']) + popen = Popen(['sudo', 'bash', '/home/linaro/bluetooth_drone/touch_switch', 'off']) popen.wait() def switch_on(): - popen = Popen(['sudo', './touch_switch', 'on']) + popen = Popen(['sudo', 'bash', '/home/linaro/bluetooth_drone/touch_switch', 'on']) popen.wait()